diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-07-08 16:51:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-07-08 16:51:48 +0000 |
commit | 65b4c34d86c9c3b7a68b5c6cd325ccc887e9829b (patch) | |
tree | 3cc48316219aad7ef3846e04adc7db07db5d8bfd /crypto/evp | |
parent | d8486c312cc9b1a467b03f4121edba21e25f6e03 (diff) |
initialise pbe_tmp
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/evp_pbe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c index 278f4858c4..766ea42b5a 100644 --- a/crypto/evp/evp_pbe.c +++ b/crypto/evp/evp_pbe.c @@ -116,7 +116,7 @@ static int pbe_cmp(const char * const *a, const char * const *b) int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, EVP_PBE_KEYGEN *keygen) { - EVP_PBE_CTL *pbe_tmp, pbelu; + EVP_PBE_CTL *pbe_tmp = NULL, pbelu; int i; if (!pbe_algs) { @@ -141,8 +141,6 @@ int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, && pbe_tmp->keygen == keygen) return 1; } - else - pbe_tmp = NULL; } if (!pbe_tmp) |