common: check for nil in fips cleanup

ulab-next
Jay Sorg 11 years ago
parent 8e4520b3c3
commit 2921400083

@ -199,7 +199,10 @@ ssl_des3_info_delete(void *des3)
EVP_CIPHER_CTX *des3_ctx;
des3_ctx = (EVP_CIPHER_CTX *) des3;
EVP_CIPHER_CTX_cleanup(des3_ctx);
if (des3_ctx != 0)
{
EVP_CIPHER_CTX_cleanup(des3_ctx);
}
}
/*****************************************************************************/

Loading…
Cancel
Save