projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memset, memcpy, sizeof consistency fixes
[openssl.git]
/
crypto
/
evp
/
pmeth_lib.c
diff --git
a/crypto/evp/pmeth_lib.c
b/crypto/evp/pmeth_lib.c
index 397d342e18cd1c883775d55463fd05761f3477e2..eeee53a2efbf26f4bf3747b340f283c3d6b1c197 100644
(file)
--- a/
crypto/evp/pmeth_lib.c
+++ b/
crypto/evp/pmeth_lib.c
@@
-202,7
+202,7
@@
EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags)
if (!pmeth)
return NULL;
if (!pmeth)
return NULL;
- memset(pmeth, 0, sizeof(
EVP_PKEY_METHOD
));
+ memset(pmeth, 0, sizeof(
*pmeth
));
pmeth->pkey_id = id;
pmeth->flags = flags | EVP_PKEY_FLAG_DYNAMIC;
pmeth->pkey_id = id;
pmeth->flags = flags | EVP_PKEY_FLAG_DYNAMIC;