[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Tue Aug 16 16:14:08 UTC 2016


The branch master has been updated
       via  2ecb9f2d18614fb7b7b42830a358b7163ed43221 (commit)
      from  f9cf774cbd31c3498ade4574c3b0ae6cb9773e28 (commit)


- Log -----------------------------------------------------------------
commit 2ecb9f2d18614fb7b7b42830a358b7163ed43221
Author: Matt Caswell <matt at openssl.org>
Date:   Tue Aug 16 13:28:14 2016 +0100

    Provide compat macros for SSL_CTX_set_ecdh_auto() and SSL_set_ecdh_auto()
    
    These functions are no longer relevant to 1.1.0 (we always have auto ecdh
    on) - but no reason to break old code that tries to call it. The macros will
    only return a dummy "success" result if the app was trying to enable ecdh.
    Disabling can't be done in quite this way any more.
    
    Fixes Github Issue #1437
    
    Reviewed-by: Viktor Dukhovni <viktor at openssl.org>

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

Summary of changes:
 include/openssl/ssl.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 0145707..288b018 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1279,6 +1279,8 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
 # define SSL_CTX_set_tmp_rsa(ctx,rsa)             1
 # define SSL_need_tmp_RSA(ssl)                    0
 # define SSL_set_tmp_rsa(ssl,rsa)                 1
+# define SSL_CTX_set_ecdh_auto(dummy, onoff)      ((onoff) != 0)
+# define SSL_set_ecdh_auto(dummy, onoff)          ((onoff) != 0)
 /*
  * We "pretend" to call the callback to avoid warnings about unused static
  * functions.


More information about the openssl-commits mailing list