[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Aug 22 12:15:01 UTC 2016


The branch master has been updated
       via  1c288878af42650fbda911b702ae7b551a545b1c (commit)
      from  1194ea8dc3b51a35c9947ed276f38436abee5743 (commit)


- Log -----------------------------------------------------------------
commit 1c288878af42650fbda911b702ae7b551a545b1c
Author: Richard Levitte <levitte at 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 <matt at openssl.org>

-----------------------------------------------------------------------

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 8b30014..9fcd98d 100644
--- a/test/ssltestlib.c
+++ b/test/ssltestlib.c
@@ -337,7 +337,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)


More information about the openssl-commits mailing list