Author: gshapiro
Date: Thu Jun 25 01:56:36 2015
New Revision: 284790
URL: https://svnweb.freebsd.org/changeset/base/284790

Log:
  MFC: An additional fix for the openssl Weak DH remediation:
  
       The import of openssl to address the FreeBSD-SA-15:10.openssl security
       advisory includes a change which rejects handshakes with DH parameters
       below 768 bits.  sendmail releases prior to 8.15.2 (not yet released),
       defaulted to a 512 bit DH parameter setting for client connections.
  
       The first fix committed last week changed the default to 1024 bits.
  
       This commit fixes the case where the DHParameters option is set to a
       file which doesn't exist, which is the case on newer versions of
       FreeBSD which enable STARTTLS by default by auto-creating TLS
       certificates.

Modified:
  stable/8/contrib/sendmail/src/sendmail.h
Directory Properties:
  stable/8/contrib/sendmail/   (props changed)

Modified: stable/8/contrib/sendmail/src/sendmail.h
==============================================================================
--- stable/8/contrib/sendmail/src/sendmail.h    Thu Jun 25 01:55:27 2015        
(r284789)
+++ stable/8/contrib/sendmail/src/sendmail.h    Thu Jun 25 01:56:36 2015        
(r284790)
@@ -1930,7 +1930,7 @@ struct termescape
 
 /* server requirements */
 #define TLS_I_SRV      (TLS_I_SRV_CERT | TLS_I_RSA_TMP | TLS_I_VRFY_PATH | \
-                        TLS_I_VRFY_LOC | TLS_I_TRY_DH | TLS_I_DH512 | \
+                        TLS_I_VRFY_LOC | TLS_I_TRY_DH | TLS_I_DH1024 | \
                         TLS_I_CACHE)
 
 /* client requirements */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to