1
0
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:
henri
2012-10-10 18:59:13 +00:00
parent 8e0ed1e83e
commit e2fb7301de

View File

@@ -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 */
} }