diff options
author | Pauli <paul.dale@oracle.com> | 2017-07-05 13:40:23 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-07-05 13:40:23 +1000 |
commit | efc21a513f1c5227cb56372fa65270f49d234b09 (patch) | |
tree | 28795a25b11dafd887a5bc92d5f2701d5a014489 /test/ct_test.c | |
parent | 0904e79a6e6109240d5a552f2699408b26cf63ee (diff) |
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.c | 6 |
1 files 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; } |