[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Matt Caswell
matt at openssl.org
Tue Jun 2 22:40:39 UTC 2015
The branch OpenSSL_1_0_2-stable has been updated
via b1d5b8a4a47f0f3c0e10c904b3b0fdc53a235fd0 (commit)
from fb22f7406485f1c4e08dbf065d75146c2336b345 (commit)
- Log -----------------------------------------------------------------
commit b1d5b8a4a47f0f3c0e10c904b3b0fdc53a235fd0
Author: Matt Caswell <matt at openssl.org>
Date: Tue Jun 2 20:18:05 2015 +0100
Fix compilation failure for some tool chains
Some tool chains (e.g. android) do not define IP_PMTUDISC_PROBE, and so
this build breaks.
Reviewed-by: Tim Hudson <tjh at openssl.org>
(cherry picked from commit 133dce447b259e0bb93076bf5fd0ce475d16910a)
-----------------------------------------------------------------------
Summary of changes:
crypto/bio/bss_dgram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 6493a38..7fcd831 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -897,7 +897,7 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
perror("setsockopt");
ret = -1;
}
-# elif defined(OPENSSL_SYS_LINUX) && defined(IP_MTU_DISCOVER)
+# elif defined(OPENSSL_SYS_LINUX) && defined(IP_MTU_DISCOVER) && defined (IP_PMTUDISC_PROBE)
if ((sockopt_val = num ? IP_PMTUDISC_PROBE : IP_PMTUDISC_DONT),
(ret = setsockopt(b->num, IPPROTO_IP, IP_MTU_DISCOVER,
&sockopt_val, sizeof(sockopt_val))) < 0) {
More information about the openssl-commits
mailing list