summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-12 21:55:46 -0400
committerRich Salz <rsalz@openssl.org>2016-06-13 09:33:17 -0400
commitbeb4c4518c25609ab2da75ab650d09ea7ae16223 (patch)
tree516b5444f86aa9afa0dc8f2cb76beed3d8d7d753
parentccd582c2f1bd3bea1423a0205692dc2e358ace51 (diff)
RT4560: Initialize variable to NULL
Reviewed-by: Andy Polyakov <appro@openssl.org>
-rw-r--r--crypto/evp/evp_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index 7d7be245b0..0e40f09f2f 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -170,7 +170,7 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
#ifdef OPENSSL_FIPS
if (FIPS_mode()) {
- const EVP_CIPHER *fcipher;
+ const EVP_CIPHER *fcipher = NULL;
if (cipher)
fcipher = evp_get_fips_cipher(cipher);
if (fcipher)