RT4560: Initialize variable to NULL
authorRich Salz <rsalz@openssl.org>
Mon, 13 Jun 2016 01:55:46 +0000 (21:55 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 13 Jun 2016 13:33:17 +0000 (09:33 -0400)
Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/evp/evp_enc.c

index 7d7be245b021a33ee755943fd2cec2626896d43b..0e40f09f2f91f4e4f65c5192668a2ae62651277e 100644 (file)
@@ -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)