File: openssl_1.1.patch

package info (click to toggle)
lprng 3.8.B-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,768 kB
  • sloc: ansic: 35,071; sh: 3,040; perl: 1,896; makefile: 379
file content (27 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (5)
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
27
--- a/configure.ac
+++ b/configure.ac
@@ -1008,7 +1008,7 @@
 			SSL_LDADD="-L$dir $SSL_LDADD"
 		fi
 		LDFLAGS="$LDFLAGS $SSL_LDADD"
-		AC_TRY_LINK_FUNC(SSL_load_error_strings,ac_linked_libssl="true",
+		AC_TRY_LINK_FUNC(OPENSSL_init_ssl,ac_linked_libssl="true",
 			ac_linked_libssl="false");
 		AC_TRY_LINK_FUNC(RC4_set_key,ac_linked_libcrypto="true",
 			ac_linked_libcrypto="false");
--- a/configure
+++ b/configure
@@ -10408,11 +10408,11 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char SSL_load_error_strings ();
+char OPENSSL_init_ssl ();
 int
 main ()
 {
-return SSL_load_error_strings ();
+return OPENSSL_init_ssl ();
   ;
   return 0;
 }