The branch OpenSSL_1_0_2-stable has been updated via 91dc6054582d1b7f263a67527ebbe2c050d178fc (commit) from 20200681236059aee56f3a2270b27052d9ba559c (commit)
- Log ----------------------------------------------------------------- commit 91dc6054582d1b7f263a67527ebbe2c050d178fc Author: Richard Levitte <levi...@openssl.org> Date: Mon Aug 22 14:02:31 2016 +0200 ssltestlib: Tell compiler we don't care about the value when we don't In mempacket_test_read(), we've already fetched the top value of the stack, so when we shift the stack, we don't care for the value. The compiler needs to be told, or it will complain harshly when we tell it to be picky. Reviewed-by: Matt Caswell <m...@openssl.org> (cherry picked from commit 1c288878af42650fbda911b702ae7b551a545b1c) ----------------------------------------------------------------------- Summary of changes: test/ssltestlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ssltestlib.c b/test/ssltestlib.c index 1592514..a52669c 100644 --- a/test/ssltestlib.c +++ b/test/ssltestlib.c @@ -355,7 +355,7 @@ static int mempacket_test_read(BIO *bio, char *out, int outl) BIO_set_retry_read(bio); return -1; } - sk_MEMPACKET_shift(ctx->pkts); + (void)sk_MEMPACKET_shift(ctx->pkts); ctx->currpkt++; if (outl > thispkt->len) _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits