add INSIST to silence coverity

(cherry picked from commit 03089dd420)
This commit is contained in:
Mark Andrews 2015-05-30 17:37:14 +10:00
parent 007cc2f36f
commit c303b3a033

View file

@ -1394,6 +1394,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);