Commit 839ab869 authored by Daniel Salzman's avatar Daniel Salzman

libdnssec: fix null pointer dereference (Thanks Coverity)

parent a2899ce4
......@@ -357,7 +357,7 @@ static int pkcs11_import_key(void *_ctx, const dnssec_binary_t *pem, char **id_p
*id_ptr = bin_to_hex(, id.size);
if (id_ptr == NULL) {
if (*id_ptr == NULL) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment