From: Pauli Date: Wed, 5 Jul 2017 03:40:23 +0000 (+1000) Subject: Fix compiler warnings X-Git-Tag: OpenSSL_1_1_1-pre1~1115 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efc21a513f1c5227cb56372fa65270f49d234b09;p=oweals%2Fopenssl.git Fix compiler warnings Reviewed-by: Tim Hudson Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/3839) --- 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; }