]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add INSIST to silence coverity
authorMark Andrews <marka@isc.org>
Sat, 30 May 2015 07:37:14 +0000 (17:37 +1000)
committerMark Andrews <marka@isc.org>
Sat, 30 May 2015 07:37:14 +0000 (17:37 +1000)
lib/dns/opensslrsa_link.c

index 886a5a1975e9c31caf154c7456f163c0c88440c7..301e4697104d994028602d07e3b6f9fd8e164a2b 100644 (file)
@@ -1401,6 +1401,7 @@ opensslrsa_fromlabel(dst_key_t *key, const char *engine, const char *label,
                if (tmpengine == NULL)
                        DST_RET(ISC_R_NOMEMORY);
                colon = strchr(tmpengine, ':');
+               INSIST(colon != NULL);
                *colon = '\0';
        }
        e = dst__openssl_getengine(engine);