Fixed compiler warning
SVN revision: 2337
This commit is contained in:
+1
-1
@@ -348,7 +348,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
|
||||
SSL_library_init();
|
||||
SSL_load_error_strings();
|
||||
|
||||
meth = SSLv23_method();
|
||||
meth = (SSL_METHOD *)SSLv23_method();
|
||||
ctx = SSL_CTX_new(meth);
|
||||
|
||||
*ssl_con = SSL_new(ctx);
|
||||
|
||||
+1
-1
@@ -27996,7 +27996,7 @@ SSL_CTX *init_ssl(void)
|
||||
SSL_library_init();
|
||||
SSL_load_error_strings();
|
||||
|
||||
meth = SSLv23_method();
|
||||
meth = (SSL_METHOD *)SSLv23_method();
|
||||
ctx = SSL_CTX_new(meth);
|
||||
|
||||
if (getcfg("global", "SSL Passphrase", pwd, sizeof(pwd))) {
|
||||
|
||||
Reference in New Issue
Block a user