diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-18 11:28:45 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-07-18 11:28:45 +0200 |
commit | 33e49fda9635f3daabf912a8781abde0de681fe6 (patch) | |
tree | 342f800ded767581a4c171d20cd03fa304402a6f /fuzz/ct.c | |
parent | aes/asm/aesfx-sparcv9.pl: switch to fshiftorx to improve single-block (diff) | |
download | openssl-33e49fda9635f3daabf912a8781abde0de681fe6.tar.xz openssl-33e49fda9635f3daabf912a8781abde0de681fe6.zip |
Fix strict-warnings build
The i2d_SCT_LIST function is declared as __owur, therefore we need to check
the result or a --strict-warnings build will fail.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'fuzz/ct.c')
-rw-r--r-- | fuzz/ct.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -29,7 +29,9 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) { SCT_LIST_print(scts, bio, 4, "\n", NULL); BIO_free(bio); - i2d_SCT_LIST(scts, &der); + if (i2d_SCT_LIST(scts, &der)) { + /* Silence unused result warning */ + } OPENSSL_free(der); SCT_LIST_free(scts); |