summaryrefslogtreecommitdiffstats
path: root/crypto/store/str_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/store/str_meth.c')
-rw-r--r--crypto/store/str_meth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/store/str_meth.c b/crypto/store/str_meth.c
index 781b1603e3..74878197f9 100644
--- a/crypto/store/str_meth.c
+++ b/crypto/store/str_meth.c
@@ -63,7 +63,7 @@
STORE_METHOD *STORE_create_method(char *name)
{
- STORE_METHOD *store_method = OPENSSL_malloc(sizeof(STORE_METHOD));
+ STORE_METHOD *store_method = OPENSSL_malloc(sizeof(*store_method));
if (store_method) {
memset(store_method, 0, sizeof(*store_method));