mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Avoid sending error message to stdout
This commit is contained in:
@@ -424,7 +424,7 @@ void handle_connect_result(mspool *ms, msevent *nse, enum nse_status status) {
|
|||||||
if (iod->ssl_session) {
|
if (iod->ssl_session) {
|
||||||
rc = SSL_set_session(iod->ssl, iod->ssl_session);
|
rc = SSL_set_session(iod->ssl, iod->ssl_session);
|
||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
printf("Uh-oh: SSL_set_session() failed - please tell Fyodor\n");
|
fprintf(stderr, "Uh-oh: SSL_set_session() failed - please tell Fyodor\n");
|
||||||
iod->ssl_session = NULL; /* No need for this any more */
|
iod->ssl_session = NULL; /* No need for this any more */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user