common: check for nil in fips cleanup

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

@ -199,8 +199,11 @@ ssl_des3_info_delete(void *des3)
EVP_CIPHER_CTX *des3_ctx; EVP_CIPHER_CTX *des3_ctx;
des3_ctx = (EVP_CIPHER_CTX *) des3; des3_ctx = (EVP_CIPHER_CTX *) des3;
if (des3_ctx != 0)
{
EVP_CIPHER_CTX_cleanup(des3_ctx); EVP_CIPHER_CTX_cleanup(des3_ctx);
} }
}
/*****************************************************************************/ /*****************************************************************************/
int APP_CC int APP_CC

Loading…
Cancel
Save