mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix C89 warning in src/openssl.c
This commit is contained in:
parent
11c6dcb705
commit
aeca2c33c0
@ -1,4 +1,8 @@
|
||||
2014-11-20 Gisle Vanem <gvanem@yahoo.no>
|
||||
2014-12-03 Gisle Vanem <gvanem@yahoo.no>
|
||||
|
||||
* openssl.c (ssl_init): Fix C89 warning
|
||||
|
||||
2014-12-03 Gisle Vanem <gvanem@yahoo.no>
|
||||
|
||||
* mswindows.c (ws_cleanup): Fix compiler error
|
||||
|
||||
|
@ -170,6 +170,7 @@ bool
|
||||
ssl_init (void)
|
||||
{
|
||||
SSL_METHOD const *meth;
|
||||
long ssl_options = 0;
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00907000
|
||||
if (ssl_true_initialized == 0)
|
||||
@ -203,8 +204,6 @@ ssl_init (void)
|
||||
SSLeay_add_all_algorithms ();
|
||||
SSLeay_add_ssl_algorithms ();
|
||||
|
||||
long ssl_options = 0;
|
||||
|
||||
switch (opt.secure_protocol)
|
||||
{
|
||||
#ifndef OPENSSL_NO_SSL2
|
||||
|
Loading…
Reference in New Issue
Block a user