diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:18:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:18:57 +0000 |
commit | a9cdccbffffdd2e58b5cc69683682517e892ea40 (patch) | |
tree | 5890cdcebde1069c9b7419d92476e52cc5525d6f /debian/patches/10_openssl_version_check.diff | |
parent | Adding upstream version 3.7.10. (diff) | |
download | postfix-debian.tar.xz postfix-debian.zip |
Adding debian version 3.7.10-0+deb12u1.debian/3.7.10-0+deb12u1debian
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..7196fe2 --- /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 +@@ -1392,26 +1392,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 */ |