FreeBSD Bugzilla – Attachment 211340 Details for
Bug 243866
ftp/proftpd: Fix mod_tls build with LibreSSL 2.9.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff to fix mod_tls with libressl 2.9.x
mod_tls.patch (text/plain), 1.65 KB, created by
Tom Beard
on 2020-02-04 11:24:43 UTC
(
hide
)
Description:
svn diff to fix mod_tls with libressl 2.9.x
Filename:
MIME Type:
Creator:
Tom Beard
Created:
2020-02-04 11:24:43 UTC
Size:
1.65 KB
patch
obsolete
>Index: ftp/proftpd/files/patch-contrib_mod__tls.c >=================================================================== >--- ftp/proftpd/files/patch-contrib_mod__tls.c (nonexistent) >+++ ftp/proftpd/files/patch-contrib_mod__tls.c (working copy) >@@ -0,0 +1,32 @@ >+--- contrib/mod_tls.c.orig 2020-02-04 10:18:23.154478000 +0000 >++++ contrib/mod_tls.c 2020-02-04 10:17:08.374249000 +0000 >+@@ -1565,7 +1565,8 @@ >+ version_str = "TLSv1.2"; >+ break; >+ >+-# if OPENSSL_VERSION_NUMBER >= 0x10101000L >++# if OPENSSL_VERSION_NUMBER >= 0x10101000L && \ >++ defined(TLS1_3_VERSION) >+ case TLS1_3_VERSION: >+ version_str = "TLSv1.3"; >+ break; >+@@ -1592,7 +1593,8 @@ >+ #if OPENSSL_VERSION_NUMBER >= 0x10001000L >+ version == TLS1_1_VERSION || >+ version == TLS1_2_VERSION || >+-# if OPENSSL_VERSION_NUMBER >= 0x10101000L >++# if OPENSSL_VERSION_NUMBER >= 0x10101000L && \ >++ defined(TLS1_3_VERSION) >+ version == TLS1_3_VERSION || >+ # endif >+ #endif >+@@ -7932,8 +7934,7 @@ >+ file_sig = file_cert->signature; >+ #endif /* OpenSSL-1.1.x and later */ >+ >+-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ >+- !defined(HAVE_LIBRESSL) >++#if OPENSSL_VERSION_NUMBER >= 0x10100000L >+ if (!ASN1_STRING_cmp(client_sig, file_sig)) { >+ #else >+ if (!M_ASN1_BIT_STRING_cmp(client_sig, file_sig)) { > >Property changes on: ftp/proftpd/files/patch-contrib_mod__tls.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243866
: 211340