Stop warnings.
[openssl.git] / fips / aes / fips_gcmtest.c
index bd79404e01d5c2c9f2beb70a1a7fba79eec0f64e..856a0ddea1554fbdf6176005878bc51940e65854 100644 (file)
@@ -86,7 +86,7 @@ static void gcmtest(int encrypt)
        unsigned char *key = NULL, *iv = NULL, *aad = NULL, *tag = NULL;
        unsigned char *ct = NULL, *pt = NULL;
        EVP_CIPHER_CTX ctx;
        unsigned char *key = NULL, *iv = NULL, *aad = NULL, *tag = NULL;
        unsigned char *ct = NULL, *pt = NULL;
        EVP_CIPHER_CTX ctx;
-       const EVP_CIPHER *gcm;
+       const EVP_CIPHER *gcm = NULL;
        FIPS_cipher_ctx_init(&ctx);
 
        while(fgets(buf,sizeof buf,stdin) != NULL)
        FIPS_cipher_ctx_init(&ctx);
 
        while(fgets(buf,sizeof buf,stdin) != NULL)