blob: 819eb1536df8b0ee9ce1d4db2498c5b36a1d02bf [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/spamc/libspamc.c
2+++ b/spamc/libspamc.c
3@@ -1213,9 +1213,11 @@ int message_filter(struct transport *tp,
4
5 if (flags & SPAMC_USE_SSL) {
6 #ifdef SPAMC_SSL
7+#if 0
8 SSLeay_add_ssl_algorithms();
9- meth = SSLv23_client_method();
10 SSL_load_error_strings();
11+#endif
12+ meth = SSLv23_client_method();
13 ctx = SSL_CTX_new(meth);
14 #else
15 UNUSED_VARIABLE(ssl);
16@@ -1600,9 +1602,11 @@ int message_tell(struct transport *tp, c
17
18 if (flags & SPAMC_USE_SSL) {
19 #ifdef SPAMC_SSL
20+#if 0
21 SSLeay_add_ssl_algorithms();
22- meth = SSLv23_client_method();
23 SSL_load_error_strings();
24+#endif
25+ meth = SSLv23_client_method();
26 ctx = SSL_CTX_new(meth);
27 #else
28 UNUSED_VARIABLE(ssl);