Fix Build after recent SSL changes.

PR:		50007
Submitted by:	Maxim Maximov <mcsi@agava.com>
Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2003-03-23 23:20:50 +00:00
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

View 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);

View 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);

View 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);