slackware-current/source/n/ntp/ntp.no.openssl.noise.patch
Patrick J Volkerding c20bd58353 Fri Oct 25 18:13:16 UTC 2024
a/mkinitrd-1.4.11-x86_64-40.txz:  Rebuilt.
  remove-orphaned-initrds: also remove dangling initrd symlinks.
l/glib2-2.82.2-x86_64-2.txz:  Rebuilt.
  Removed useless symlinks. Thanks to marav.
l/mozilla-nss-3.106-x86_64-1.txz:  Upgraded.
x/xterm-395-x86_64-1.txz:  Upgraded.
2024-10-26 17:35:55 +02:00

19 lines
670 B
Diff

--- ./libntp/ssl_init.c.orig 2024-05-07 06:21:21.000000000 -0500
+++ ./libntp/ssl_init.c 2024-10-24 12:25:07.982689766 -0500
@@ -68,12 +68,14 @@
v = OpenSSL_version_num();
if ((v ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) {
LIB_GETBUF(buf);
+ /* When running against OpenSSL 3, ABI is guaranteed compatible
+ so let's avoid this noise. */
snprintf(buf, LIB_BUFLENGTH,
"OpenSSL version mismatch."
"Built against %lx, you have %lx\n",
(u_long)OPENSSL_VERSION_NUMBER, v);
- msyslog(LOG_WARNING, "%s", buf);
- fputs(buf, stderr);
+ /* msyslog(LOG_WARNING, "%s", buf); */
+ /* fputs(buf, stderr); */
}
INIT_SSL();
}