From efc21a513f1c5227cb56372fa65270f49d234b09 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 5 Jul 2017 13:40:23 +1000 Subject: [PATCH] Fix compiler warnings Reviewed-by: Tim Hudson Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/3839) --- test/ct_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ct_test.c b/test/ct_test.c index b44a41cbdf..5deb758457 100644 --- a/test/ct_test.c +++ b/test/ct_test.c @@ -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; }