projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
There have been a number of complaints from a number of sources that names
[oweals/openssl.git]
/
crypto
/
evp
/
p_open.c
diff --git
a/crypto/evp/p_open.c
b/crypto/evp/p_open.c
index 6dbccceafa5ab0576cd38d4605ecf24f251ef770..85d5097644a51a1d0f5360c00c58fecf8975d953 100644
(file)
--- a/
crypto/evp/p_open.c
+++ b/
crypto/evp/p_open.c
@@
-82,7
+82,7
@@
int EVP_OpenInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char *ek,
}
size=RSA_size(priv->pkey.rsa);
- key=(unsigned char *)
M
alloc(size+2);
+ key=(unsigned char *)
OPENSSL_m
alloc(size+2);
if (key == NULL)
{
/* ERROR */
@@
-102,7
+102,7
@@
int EVP_OpenInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char *ek,
ret=1;
err:
if (key != NULL) memset(key,0,size);
-
F
ree(key);
+
OPENSSL_f
ree(key);
return(ret);
}