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:
8d41933
)
RT2193: #ifdef errors in bss_dgram.c
author
l.montecchiani@gmail.com
<l.montecchiani@gmail.com>
Wed, 27 Aug 2014 03:11:01 +0000
(23:11 -0400)
committer
Rich Salz
<rsalz@akamai.com>
Thu, 28 Aug 2014 21:17:36 +0000
(17:17 -0400)
Problem with #ifdef in the BIO_CTRL_DGRAM_MTU_DISCOVER case that
is different from the BIO_CTRL_DGRAM_QUERY_MTU one which seems
correct.
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/bio/bss_dgram.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_dgram.c
b/crypto/bio/bss_dgram.c
index 821320ae237ae11445a34ad3e875fc5a43b613d5..8a55c1521b633186402df6b51386e9c5bf72f31b 100644
(file)
--- a/
crypto/bio/bss_dgram.c
+++ b/
crypto/bio/bss_dgram.c
@@
-577,10
+577,10
@@
static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
ret = -1;
break;
}
- ret = -1;
#else
-
break
;
+
ret = -1
;
#endif
+ break;
case BIO_CTRL_DGRAM_QUERY_MTU:
#if defined(OPENSSL_SYS_LINUX) && defined(IP_MTU)
addr_len = (socklen_t)sizeof(addr);