diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-18 15:32:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-14 15:25:16 -0400 |
commit | 6925b61cfdf50a5686de02645b04b269c031f05d (patch) | |
tree | 414c55b16bb61f16ae70b78458da6e1020da7c7f /src/test/test_tortls.c | |
parent | 7c8f20ba44a831ed9f714453fa776762d1c872c5 (diff) | |
download | tor-6925b61cfdf50a5686de02645b04b269c031f05d.tar.gz tor-6925b61cfdf50a5686de02645b04b269c031f05d.zip |
Fix various GCC LTO warnings in the unit tests.
Diffstat (limited to 'src/test/test_tortls.c')
-rw-r--r-- | src/test/test_tortls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index f4315364a2..79b52437f8 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -238,6 +238,7 @@ test_tortls_x509_cert_get_id_digests(void *ignored) cert->pkey_digests_set = 1; cert->pkey_digests = *d; res = tor_x509_cert_get_id_digests(cert); + tt_assert(res); tt_int_op(res->d[0][0], OP_EQ, 42); done: |