An additional fix for the openssl Weak DH remediation:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>
Tue, 23 Jun 2015 04:33:54 +0000 (04:33 +0000)
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>
Tue, 23 Jun 2015 04:33:54 +0000 (04:33 +0000)
commit3df48792f2060cabd1b4e2b805ead49ac6fa6966
tree8d29bf12cf9bece5bb38645412991e48ee661631
parent90e528f838fe5d4ab6a9286126e954996ad3e4a7
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.

MFC after: 2 days
contrib/sendmail/src/sendmail.h