diff options
author | Nils Larsch <nils@openssl.org> | 2006-02-08 19:16:33 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-02-08 19:16:33 +0000 |
commit | 22d1087e16cff731d27c890f84757652d98303c1 (patch) | |
tree | 5a788aea06a917bd9913bc6d14546dc8e62ed576 /crypto/store | |
parent | 9f85fcefdce92ea8746937f20f9f2fbe384c2095 (diff) |
backport recent changes from the cvs head
Diffstat (limited to 'crypto/store')
-rw-r--r-- | crypto/store/str_meth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/store/str_meth.c b/crypto/store/str_meth.c index 648c08d76d..a46de03a26 100644 --- a/crypto/store/str_meth.c +++ b/crypto/store/str_meth.c @@ -65,8 +65,10 @@ STORE_METHOD *STORE_create_method(char *name) STORE_METHOD *store_method = (STORE_METHOD *)OPENSSL_malloc(sizeof(STORE_METHOD)); if (store_method) + { memset(store_method, 0, sizeof(*store_method)); - store_method->name = BUF_strdup(name); + store_method->name = BUF_strdup(name); + } return store_method; } |