Fix Build after recent SSL changes.
PR: 50007 Submitted by: Maxim Maximov <mcsi@agava.com> Approved by: maintainer
This commit is contained in:
parent
d029f228bb
commit
6520b885b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77324
3 changed files with 45 additions and 0 deletions
15
net-im/sim-im/files/patch-icqssl.cpp
Normal file
15
net-im/sim-im/files/patch-icqssl.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
--- sim/libicq/icqssl.cpp.orig Wed Mar 12 14:20:53 2003
|
||||
+++ sim/libicq/icqssl.cpp Wed Mar 12 14:21:08 2003
|
||||
@@ -151,7 +151,7 @@
|
||||
#else
|
||||
SSL_CTX_set_cipher_list(gSSL_CTX, "ADH");
|
||||
#endif
|
||||
- SSL_CTX_set_info_callback(gSSL_CTX, (void (*)())ssl_info_callback);
|
||||
+ SSL_CTX_set_info_callback(gSSL_CTX, (void (*)(const SSL*, int, int))ssl_info_callback);
|
||||
DH *dh = get_dh512();
|
||||
SSL_CTX_set_tmp_dh(gSSL_CTX, dh);
|
||||
DH_free(dh);
|
||||
|
||||
|
||||
|
15
net-im/simicq/files/patch-icqssl.cpp
Normal file
15
net-im/simicq/files/patch-icqssl.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
--- sim/libicq/icqssl.cpp.orig Wed Mar 12 14:20:53 2003
|
||||
+++ sim/libicq/icqssl.cpp Wed Mar 12 14:21:08 2003
|
||||
@@ -151,7 +151,7 @@
|
||||
#else
|
||||
SSL_CTX_set_cipher_list(gSSL_CTX, "ADH");
|
||||
#endif
|
||||
- SSL_CTX_set_info_callback(gSSL_CTX, (void (*)())ssl_info_callback);
|
||||
+ SSL_CTX_set_info_callback(gSSL_CTX, (void (*)(const SSL*, int, int))ssl_info_callback);
|
||||
DH *dh = get_dh512();
|
||||
SSL_CTX_set_tmp_dh(gSSL_CTX, dh);
|
||||
DH_free(dh);
|
||||
|
||||
|
||||
|
15
net/simicq/files/patch-icqssl.cpp
Normal file
15
net/simicq/files/patch-icqssl.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
--- sim/libicq/icqssl.cpp.orig Wed Mar 12 14:20:53 2003
|
||||
+++ sim/libicq/icqssl.cpp Wed Mar 12 14:21:08 2003
|
||||
@@ -151,7 +151,7 @@
|
||||
#else
|
||||
SSL_CTX_set_cipher_list(gSSL_CTX, "ADH");
|
||||
#endif
|
||||
- SSL_CTX_set_info_callback(gSSL_CTX, (void (*)())ssl_info_callback);
|
||||
+ SSL_CTX_set_info_callback(gSSL_CTX, (void (*)(const SSL*, int, int))ssl_info_callback);
|
||||
DH *dh = get_dh512();
|
||||
SSL_CTX_set_tmp_dh(gSSL_CTX, dh);
|
||||
DH_free(dh);
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue