Added support for openssl-3.0
Resolves: rhbz#1953504
This commit is contained in:
		
							parent
							
								
									1256e05d41
								
							
						
					
					
						commit
						0145d93bac
					
				
							
								
								
									
										19
									
								
								sendmail-8.16.1-openssl-3.0-fix.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								sendmail-8.16.1-openssl-3.0-fix.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| diff --git a/sendmail/tls.c b/sendmail/tls.c
 | ||||
| index 696d32f..b8527c4 100644
 | ||||
| --- a/sendmail/tls.c
 | ||||
| +++ b/sendmail/tls.c
 | ||||
| @@ -29,7 +29,13 @@ SM_RCSID("@(#)$Id: tls.c,v 8.127 2013-11-27 02:51:11 gshapiro Exp $")
 | ||||
|  # ERROR: OpenSSL version OPENSSL_VERSION_NUMBER is unsupported. | ||||
|  # endif | ||||
|   | ||||
| -# if OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L
 | ||||
| +/*
 | ||||
| + **  *SSL version numbers:
 | ||||
| + **  OpenSSL 0.9 - 1.1 (so far), 3.0 (in alpha)
 | ||||
| + **  LibreSSL 2.0 (0x20000000L - part of "These will never change")
 | ||||
| + */
 | ||||
| +
 | ||||
| +# if (OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L) || OPENSSL_VERSION_NUMBER >= 0x30000000L
 | ||||
|  #  define MTA_HAVE_DH_set0_pqg 1 | ||||
|  #  define MTA_HAVE_DSA_GENERATE_EX	1 | ||||
|   | ||||
| @ -29,7 +29,7 @@ | ||||
| Summary: A widely used Mail Transport Agent (MTA) | ||||
| Name: sendmail | ||||
| Version: 8.16.1 | ||||
| Release: 7%{?dist} | ||||
| Release: 8%{?dist} | ||||
| License: Sendmail | ||||
| URL: http://www.sendmail.org/ | ||||
| 
 | ||||
| @ -94,6 +94,7 @@ Patch23: sendmail-8.16.1-sasl2-in-etc.patch | ||||
| # upstream reserved option ID 0xe7 for testing of this new feature, #576643 | ||||
| Patch25: sendmail-8.16.1-qos.patch | ||||
| Patch26: sendmail-8.16.1-libmilter-socket-activation.patch | ||||
| Patch27: sendmail-8.16.1-openssl-3.0-fix.patch | ||||
| 
 | ||||
| BuildRequires: make | ||||
| BuildRequires: libdb-devel | ||||
| @ -204,6 +205,7 @@ cp devtools/M4/UNIX/{,shared}library.m4 | ||||
| %patch23 -p1 -b .sasl2-in-etc | ||||
| %patch25 -p1 -b .qos | ||||
| %patch26 -p1 -b .libmilter-socket-activation | ||||
| %patch27 -p1 -b .openssl-3.0-fix | ||||
| 
 | ||||
| for f in RELEASE_NOTES contrib/etrn.0; do | ||||
| 	iconv -f iso8859-1 -t utf8 -o ${f}{_,} && | ||||
| @ -707,6 +709,10 @@ exit 0 | ||||
| 
 | ||||
| 
 | ||||
| %changelog | ||||
| * Fri May  7 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 8.16.1-8 | ||||
| - Added support for openssl-3.0 | ||||
|   Resolves: rhbz#1953504 | ||||
| 
 | ||||
| * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 8.16.1-7 | ||||
| - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user