mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Only get SSL options if we use them, currently for NO_SSLv2
This commit is contained in:
parent
f01567b353
commit
f6d21da5cd
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue