mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Only get SSL options if we use them, currently for NO_SSLv2
This commit is contained in:
@@ -448,7 +448,9 @@ void handle_connect_result(struct npool *ms, struct nevent *nse, enum nse_status
|
||||
nse->status = NSE_STATUS_ERROR;
|
||||
}
|
||||
} else {
|
||||
#if SSL_OP_NO_SSLv2 != 0
|
||||
long options = SSL_get_options(iod->ssl);
|
||||
#endif
|
||||
|
||||
sslerr = SSL_get_error(iod->ssl, rc);
|
||||
if (rc == -1 && sslerr == SSL_ERROR_WANT_READ) {
|
||||
|
||||
Reference in New Issue
Block a user