projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't output bogus errors in PKCS12_parse
[openssl.git]
/
crypto
/
ecdh
/
ech_lib.c
diff --git
a/crypto/ecdh/ech_lib.c
b/crypto/ecdh/ech_lib.c
index 82f885099876bd26f671e380486c110e5c728a86..62734bc96f7c40b67ae64a037a896933afa5b66f 100644
(file)
--- a/
crypto/ecdh/ech_lib.c
+++ b/
crypto/ecdh/ech_lib.c
@@
-117,7
+117,7
@@
static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine)
{
ECDH_DATA *ret;
- ret = OPENSSL_malloc(sizeof(
ECDH_DATA
));
+ ret = OPENSSL_malloc(sizeof(
*ret
));
if (ret == NULL) {
ECDHerr(ECDH_F_ECDH_DATA_NEW_METHOD, ERR_R_MALLOC_FAILURE);
return (NULL);