Use SSL_CTX_use_certificate_chain_file() to handle intermediate
certificates passed additionally in confSERVER_CERT (#1565341)
This commit is contained in:
parent
c5146fd341
commit
8faf605946
@ -17,7 +17,7 @@
|
||||
Summary: A widely used Mail Transport Agent (MTA)
|
||||
Name: sendmail
|
||||
Version: 8.15.2
|
||||
Release: 26%{?dist}
|
||||
Release: 27%{?dist}
|
||||
License: Sendmail
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.sendmail.org/
|
||||
@ -234,7 +234,7 @@ sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|' contrib/*.pl
|
||||
cat > redhat.config.m4 << EOF
|
||||
define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
|
||||
define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FFR_TLS_EC -D_FILE_OFFSET_BITS=64 -DHESIOD_ALLOW_NUMERIC_LOGIN')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DHESIOD_ALLOW_NUMERIC_LOGIN')
|
||||
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
|
||||
define(\`confLIBS', \`-lnsl -lhesiod -lcrypt -ldb -lresolv')
|
||||
%{?_hardened_build:define(\`confLDOPTS', \`-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now')}
|
||||
@ -272,7 +272,7 @@ EOF
|
||||
|
||||
%if "%{with_tls}" == "yes"
|
||||
cat >> redhat.config.m4 << EOF
|
||||
APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl
|
||||
APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS -D_FFR_TLS_1 -D_FFR_TLS_EC -D_FFR_TLS_USE_CERTIFICATE_CHAIN_FILE')dnl
|
||||
APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl
|
||||
EOF
|
||||
%endif
|
||||
@ -736,6 +736,10 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 26 2018 Robert Scheck <robert@fedoraproject.org> - 8.15.2-27
|
||||
- Use SSL_CTX_use_certificate_chain_file() to handle intermediate
|
||||
certificates passed additionally in confSERVER_CERT (#1565341)
|
||||
|
||||
* Tue May 29 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-26
|
||||
- Changed libnsl2 paths
|
||||
Resolves: rhbz#1543933
|
||||
|
Loading…
Reference in New Issue
Block a user