projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1194ea8
)
ssltestlib: Tell compiler we don't care about the value when we don't
author
Richard Levitte
<levitte@openssl.org>
Mon, 22 Aug 2016 12:02:31 +0000
(14:02 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 22 Aug 2016 12:02:31 +0000
(14:02 +0200)
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@openssl.org>
test/ssltestlib.c
patch
|
blob
|
history
diff --git
a/test/ssltestlib.c
b/test/ssltestlib.c
index 8b30014ba3a5c551a5a87aeaaa1f3c116b3b6b02..9fcd98de7de096d3373d0a6079d8bfdceb542b9f 100644
(file)
--- 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)