diff options
author | Christos Zoulas <christos@zoulas.com> | 2018-09-30 16:56:49 -0400 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-12-09 22:02:49 -0500 |
commit | 8343229bc4b8ac04e3a15d0645c453da84cab8d8 (patch) | |
tree | b92ad2f3e5b053feab3b74cb2b7ede1e22bb22be /test/testutil | |
parent | 82f518acee36754cb6f64d39ba926b32daae2534 (diff) | |
download | openssl-8343229bc4b8ac04e3a15d0645c453da84cab8d8.zip openssl-8343229bc4b8ac04e3a15d0645c453da84cab8d8.tar.gz openssl-8343229bc4b8ac04e3a15d0645c453da84cab8d8.tar.bz2 |
Use the proper fonst cast
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'test/testutil')
-rw-r--r-- | test/testutil/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/tests.c b/test/testutil/tests.c index ba37f01..2ba5b9a 100644 --- a/test/testutil/tests.c +++ b/test/testutil/tests.c @@ -420,7 +420,7 @@ int test_BN_abs_eq_word(const char *file, int line, const char *bns, static const char *print_time(const ASN1_TIME *t) { - return t == NULL ? "<null>" : (char *)ASN1_STRING_get0_data(t); + return t == NULL ? "<null>" : (const char *)ASN1_STRING_get0_data(t); } #define DEFINE_TIME_T_COMPARISON(opname, op) \ |