File: 08_remove_forced_OpenSSL_check.patch

package info (click to toggle)
fetchmail 6.5.6-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: ansic: 19,190; sh: 7,108; python: 2,395; perl: 564; yacc: 447; lex: 286; makefile: 260; awk: 124; lisp: 84; exp: 43; sed: 17
file content (26 lines) | stat: -rw-r--r-- 794 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Remove forced OpenSSL version check
 Not needed, linker should take care of proper library loading.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/973472
Forwarded: no
Last-Update: 2023-01-10

---

--- a/socket.c
+++ b/socket.c
@@ -1221,12 +1221,12 @@ int SSLOpen(int sock, char *mycert, char
 		}
 	}
 #endif
-
+/*
 	if (ver < OPENSSL_VERSION_NUMBER) {
 	    report(stderr, GT_("Loaded OpenSSL library %#lx older than headers %#lx, refusing to work.\n"), (long)ver, (long)(OPENSSL_VERSION_NUMBER));
 	    return -1;
 	}
-
+*/
 	if (ver > OPENSSL_VERSION_NUMBER && outlevel >= O_VERBOSE) {
 	    report(stdout, GT_("Loaded OpenSSL library %#lx newer than headers %#lx, trying to continue.\n"), (long)ver, (long)(OPENSSL_VERSION_NUMBER));
 	}