* them - so "politely inform" the caller that
* the code needs updating here.
*/
- ERROR("SSL: FATAL SSL error ..... %d\n", e);
+ REDEBUG("FATAL SSL error: %d", e);
return 0;
}
RDEBUG2("Received TLS ACK");
if (ssn == NULL){
- RERROR("FAIL: Unexpected ACK received. Could not obtain session information");
+ REDEBUG("Unexpected ACK received: No ongoing SSL session");
return FR_TLS_INVALID;
}
if (!ssn->info.initialized) {
- RDEBUG("No SSL info available. Waiting for more SSL data");
+ RDEBUG("No SSL info available. Waiting for more SSL data");
return FR_TLS_REQUEST;
}
+
if ((ssn->info.content_type == handshake) && (ssn->info.origin == 0)) {
- RERROR("FAIL: ACK without earlier message");
+ REDEBUG("Unexpected ACK received: We sent no previous messages");
return FR_TLS_INVALID;
}
* to the default section below.
*/
default:
- RERROR("Invalid ACK received: %d", ssn->info.content_type);
+ REDEBUG("Invalid ACK received: %d", ssn->info.content_type);
return FR_TLS_INVALID;
}