aboutsummaryrefslogtreecommitdiff
path: root/test/ct_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-07-05 13:40:23 +1000
committerPauli <paul.dale@oracle.com>2017-07-05 13:40:23 +1000
commitefc21a513f1c5227cb56372fa65270f49d234b09 (patch)
tree28795a25b11dafd887a5bc92d5f2701d5a014489 /test/ct_test.c
parent0904e79a6e6109240d5a552f2699408b26cf63ee (diff)
downloadopenssl-efc21a513f1c5227cb56372fa65270f49d234b09.zip
openssl-efc21a513f1c5227cb56372fa65270f49d234b09.tar.gz
openssl-efc21a513f1c5227cb56372fa65270f49d234b09.tar.bz2
Fix compiler warnings
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/3839)
Diffstat (limited to 'test/ct_test.c')
-rw-r--r--test/ct_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ct_test.c b/test/ct_test.c
index b44a41c..5deb758 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;
}