Move variable declarations into the conditional block where they are
used, to fix warning if WITH_SSL is not set. Submitted by: Sean Bruno MFC after: 1 week
This commit is contained in:
parent
377c50f67a
commit
a9d0c84909
@ -321,9 +321,9 @@ fetch_connect(const char *host, int port, int af, int verbose)
|
||||
int
|
||||
fetch_ssl(conn_t *conn, int verbose)
|
||||
{
|
||||
#ifdef WITH_SSL
|
||||
int ret, ssl_err;
|
||||
|
||||
#ifdef WITH_SSL
|
||||
/* Init the SSL library and context */
|
||||
if (!SSL_library_init()){
|
||||
fprintf(stderr, "SSL library init failed\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user