Commit 72025026 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

winhttp: Don't call a function whose result is never used.

parent 0cdd4722
...@@ -118,7 +118,6 @@ MAKE_FUNCPTR( SSL_get_peer_certificate ); ...@@ -118,7 +118,6 @@ MAKE_FUNCPTR( SSL_get_peer_certificate );
MAKE_FUNCPTR( SSL_CTX_set_default_verify_paths ); MAKE_FUNCPTR( SSL_CTX_set_default_verify_paths );
MAKE_FUNCPTR( SSL_CTX_set_verify ); MAKE_FUNCPTR( SSL_CTX_set_verify );
MAKE_FUNCPTR( BIO_new_fp );
MAKE_FUNCPTR( CRYPTO_num_locks ); MAKE_FUNCPTR( CRYPTO_num_locks );
MAKE_FUNCPTR( CRYPTO_set_id_callback ); MAKE_FUNCPTR( CRYPTO_set_id_callback );
MAKE_FUNCPTR( CRYPTO_set_locking_callback ); MAKE_FUNCPTR( CRYPTO_set_locking_callback );
...@@ -439,7 +438,6 @@ BOOL netconn_init( netconn_t *conn, BOOL secure ) ...@@ -439,7 +438,6 @@ BOOL netconn_init( netconn_t *conn, BOOL secure )
LeaveCriticalSection( &init_ssl_cs ); \ LeaveCriticalSection( &init_ssl_cs ); \
return FALSE; \ return FALSE; \
} }
LOAD_FUNCPTR( BIO_new_fp );
LOAD_FUNCPTR( CRYPTO_num_locks ); LOAD_FUNCPTR( CRYPTO_num_locks );
LOAD_FUNCPTR( CRYPTO_set_id_callback ); LOAD_FUNCPTR( CRYPTO_set_id_callback );
LOAD_FUNCPTR( CRYPTO_set_locking_callback ); LOAD_FUNCPTR( CRYPTO_set_locking_callback );
...@@ -454,7 +452,6 @@ BOOL netconn_init( netconn_t *conn, BOOL secure ) ...@@ -454,7 +452,6 @@ BOOL netconn_init( netconn_t *conn, BOOL secure )
pSSL_library_init(); pSSL_library_init();
pSSL_load_error_strings(); pSSL_load_error_strings();
pBIO_new_fp( stderr, BIO_NOCLOSE );
method = pSSLv23_method(); method = pSSLv23_method();
ctx = pSSL_CTX_new( method ); ctx = pSSL_CTX_new( method );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment