if ((*p >= '0') && (*p <= '9')) continue;
/*
- * Anything else, ignore fail.
+ * Anything else, fail.
*/
return SSL_TLSEXT_ERR_ALERT_FATAL;
}
int err;
if (ssn->invalid_hb_used) {
- REDEBUG("OpenSSL Heartbeat attack detected. Closing connection");
+ REDEBUG("(TLS) OpenSSL Heartbeat attack detected. Closing connection");
return 0;
}
} else {
tls_error_log(NULL, "Error reading from OpenSSL");
record_init(&ssn->dirty_in);
- RDEBUG2("(TLS) Tunnel data is established.");
return 0;
}
} else {
check_for_setup:
if (!sock->ssn->is_init_finished) {
if (!tls_handshake_recv(request, sock->ssn)) {
- RDEBUG("FAILED in TLS handshake receive");
+ RDEBUG("(TLS) Failed in TLS handshake receive");
goto do_close;
}