* Migrate the engine code's Malloc + Free calls to the newer
OPENSSL_malloc and OPENSSL_free. * 3 "normal" files (crypto/rsa/rsa_lib.c, crypto/dsa/dsa_lib.c and crypto/dh/dh_lib.c) had their Malloc's and Free's missed when Richard merged the changes across to this branch - probably because those files have been changed in this branch and gave some grief to the merge - so I've changed them manually here.
This commit is contained in:
@@ -152,7 +152,7 @@ DSA *DSA_new_method(ENGINE *engine)
|
||||
{
|
||||
if((ret->engine=ENGINE_get_default_DSA()) == NULL)
|
||||
{
|
||||
Free(ret);
|
||||
OPENSSL_free(ret);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user