[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Matt Caswell matt at openssl.org
Tue Jun 2 12:01:40 UTC 2015


The branch OpenSSL_1_0_2-stable has been updated
       via  188f3f976764f2b0d486448a5054ea711f9b8abe (commit)
      from  27c76b9b8010b536687318739c6f631ce4194688 (commit)


- Log -----------------------------------------------------------------
commit 188f3f976764f2b0d486448a5054ea711f9b8abe
Author: Per Allansson <per.allansson at cryptzone.com>
Date:   Tue Jun 2 09:38:28 2015 +0100

    Fix IP_MTU_DISCOVER typo
    
    The code in bss_dgram.c checks if IP_MTUDISCOVER is defined, where it
    should test for IP_MTU_DISCOVER
    
    RT#3888
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (cherry picked from commit 0baaff1a76d4c91b9c1121059be63175454d7b03)

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

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 dc4479f..6493a38 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_MTUDISCOVER)
+# elif defined(OPENSSL_SYS_LINUX) && defined(IP_MTU_DISCOVER)
             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