projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enhance PACKET readability
[openssl.git]
/
test
/
packettest.c
diff --git
a/test/packettest.c
b/test/packettest.c
index d6d0c082f5ace42ff327f84da9877c07c9b19fd3..c3ac53bcb0712cf692d3fb90a521c7b1071349fb 100644
(file)
--- a/
test/packettest.c
+++ b/
test/packettest.c
@@
-67,7
+67,7
@@
static int test_PACKET_remaining(PACKET *pkt)
|| !PACKET_forward(pkt, BUF_LEN - 1)
|| PACKET_remaining(pkt) != 1
|| !PACKET_forward(pkt, 1)
- || PACKET_remaining(pkt)) {
+ || PACKET_remaining(pkt)
!= 0
) {
fprintf(stderr, "test_PACKET_remaining() failed\n");
return 0;
}