mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-28 18:54:36 +00:00
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>
This commit is contained in:
parent
9515accaf9
commit
33e49fda96
@ -29,7 +29,9 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) {
|
|||||||
SCT_LIST_print(scts, bio, 4, "\n", NULL);
|
SCT_LIST_print(scts, bio, 4, "\n", NULL);
|
||||||
BIO_free(bio);
|
BIO_free(bio);
|
||||||
|
|
||||||
i2d_SCT_LIST(scts, &der);
|
if (i2d_SCT_LIST(scts, &der)) {
|
||||||
|
/* Silence unused result warning */
|
||||||
|
}
|
||||||
OPENSSL_free(der);
|
OPENSSL_free(der);
|
||||||
|
|
||||||
SCT_LIST_free(scts);
|
SCT_LIST_free(scts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user