slackware-current/source/n/postfix/0001-openssl-micro-mismatch-nowarn.patch
Patrick J Volkerding b04af89285 Mon Dec 11 22:18:13 UTC 2023
We've gone ahead and moved the 6.6 kernel into the main tree. As previously
mentioned when this branch first appeared in /testing, on the 32-bit side
there are no longer any -smp labeled kernel packages, so if you were using
those previously, you'll need to switch to using to kernel-generic or
kernel-huge kernel, including the changes needed to your bootloader setup to
load this instead of the -smp labeled kernel. Also, if you happen to be using
a first generation Pentium M chip, you will need to append forcepae to your
kernel command-line options. Enjoy! :-)
a/kernel-firmware-20231211_f2e52a1-noarch-1.txz:  Upgraded.
a/kernel-generic-6.6.6-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.6.6-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.6.6-x86_64-1.txz:  Upgraded.
ap/qpdf-11.6.4-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.6.6-x86-1.txz:  Upgraded.
k/kernel-source-6.6.6-noarch-1.txz:  Upgraded.
l/imagemagick-7.1.1_23-x86_64-1.txz:  Upgraded.
l/libsecret-0.21.2-x86_64-1.txz:  Upgraded.
  Thanks to reddog83 and saxa.
l/zxing-cpp-2.2.1-x86_64-1.txz:  Upgraded.
n/postfix-3.8.3-x86_64-2.txz:  Rebuilt.
  OpenSSL upstream says that major versions are ABI/API compatible, so stop
  warning in the logs that they might not be.
  Thanks to gildbg and Markus Wiesner.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2023-12-12 00:13:38 +01:00

30 lines
1.2 KiB
Diff

From e3e682bd4f0b374ea850c3a3eeb9243308f99ff5 Mon Sep 17 00:00:00 2001
From: "Patrick J. Volkerding" <volkerdi@slackware.com>
Date: Mon, 11 Dec 2023 13:47:45 -0600
Subject: [PATCH] tls_misc.c: Don't warn if run-time library is different from compile-time library
According to the OpenSSL migration guide:
"OpenSSL versions with the same major number are API and ABI compatible.
If the major number changes then API and ABI compatibility is not guaranteed."
So, stop filling the logs with this when upstream says it's fine.
--- ./src/tls/tls_misc.c.orig 2023-06-04 16:02:41.000000000 -0500
+++ ./src/tls/tls_misc.c 2023-12-11 13:44:32.234027721 -0600
@@ -1396,6 +1396,7 @@
* Warn if run-time library is different from compile-time library,
* allowing later run-time "micro" versions starting with 1.1.0.
*/
+#ifdef OPENSSL_MICRO_MISMATCH_WARN
if (lib_info.major != hdr_info.major
|| lib_info.minor != hdr_info.minor
|| (lib_info.micro != hdr_info.micro
@@ -1406,6 +1407,7 @@
"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);
+#endif
}
/* tls_compile_version - compile-time OpenSSL version */