diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:46:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:46:31 +0000 |
commit | 32afea41ba8b7328e252ae97ca32c56f98d42a90 (patch) | |
tree | 11b25ffd59d9190c8316cd48ace4e198531d0e7d /debian/patches/10_openssl_version_check.diff | |
parent | Adding upstream version 3.4.23. (diff) | |
download | postfix-debian.tar.xz postfix-debian.zip |
Adding debian version 3.4.23-0+deb10u1.debian/3.4.23-0+deb10u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/10_openssl_version_check.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/10_openssl_version_check.diff b/debian/patches/10_openssl_version_check.diff new file mode 100644 index 0000000..b282f81 --- /dev/null +++ b/debian/patches/10_openssl_version_check.diff @@ -0,0 +1,32 @@ +Index: postfix/src/tls/tls_misc.c +=================================================================== +--- postfix.orig/src/tls/tls_misc.c ++++ postfix/src/tls/tls_misc.c +@@ -1258,26 +1258,7 @@ static void tls_version_split(unsigned l + + void tls_check_version(void) + { +- TLS_VINFO hdr_info; +- TLS_VINFO lib_info; +- +- tls_version_split(OPENSSL_VERSION_NUMBER, &hdr_info); +- tls_version_split(OpenSSL_version_num(), &lib_info); +- +- /* +- * Warn if run-time library is different from compile-time library, +- * allowing later run-time "micro" versions starting with 1.1.0. +- */ +- if (lib_info.major != hdr_info.major +- || lib_info.minor != hdr_info.minor +- || (lib_info.micro != hdr_info.micro +- && (lib_info.micro < hdr_info.micro +- || hdr_info.major == 0 +- || (hdr_info.major == 1 && hdr_info.minor == 0)))) +- msg_warn("run-time library vs. compile-time header version mismatch: " +- "OpenSSL %d.%d.%d may not be compatible with OpenSSL %d.%d.%d", +- lib_info.major, lib_info.minor, lib_info.micro, +- hdr_info.major, hdr_info.minor, hdr_info.micro); ++ /* Debian will change the soname if openssl is ever incompatible. */ + } + + /* tls_compile_version - compile-time OpenSSL version */ |