Fix compiler warnings
authorPauli <paul.dale@oracle.com>
Wed, 5 Jul 2017 03:40:23 +0000 (13:40 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 5 Jul 2017 03:40:23 +0000 (13:40 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/3839)

test/ct_test.c

index b44a41cbdf523e44bd3b512a1d28df89021e90d2..5deb758457480d02969b39493b8190fcce342beb 100644 (file)
@@ -488,14 +488,14 @@ end:
 
 static int test_ctlog_from_base64(void)
 {
-    CTLOG *log = NULL;
+    CTLOG *ctlogp = NULL;
     const char notb64[] = "\01\02\03\04";
     const char pad[] = "====";
     const char name[] = "name";
 
     /* We expect these to both fail! */
-    if (!TEST_true(!CTLOG_new_from_base64(&log, notb64, name))
-        || !TEST_true(!CTLOG_new_from_base64(&log, pad, name)))
+    if (!TEST_true(!CTLOG_new_from_base64(&ctlogp, notb64, name))
+        || !TEST_true(!CTLOG_new_from_base64(&ctlogp, pad, name)))
         return 0;
     return 1;
 }