cfd72459cd19002cba98f593d9e83003b64ad1ea galt Wed Mar 22 18:19:22 2017 -0700 fixing compiler complaints. diff --git src/lib/https.c src/lib/https.c index d8960ed..c65a786 100644 --- src/lib/https.c +++ src/lib/https.c @@ -89,31 +89,31 @@ /* use a thread to run socket back to user */ { /* child */ struct netConnectHttpsParams *params = threadParam; pthread_detach(params->thread); // this thread will never join back with it's progenitor int fd=0; char *proxyUrl = getenv("https_proxy"); if (params->noProxy) proxyUrl = NULL; char *connectHost; int connectPort; -BIO *sbio, *ssbio; +BIO *sbio=NULL, *ssbio=NULL; SSL_CTX *ctx; SSL *ssl; openSslInit(); ctx = SSL_CTX_new(SSLv23_client_method()); fd_set readfds; fd_set writefds; int err; struct timeval tv; /* TODO checking certificates