TLS testing: Fix test_flags check for ApplData report

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-03-16 10:59:17 +02:00
parent 44bb91066b
commit 817742f5aa

View file

@ -316,7 +316,7 @@ int tlsv1_server_decrypt(struct tlsv1_server *conn,
}
#ifdef CONFIG_TESTING_OPTIONS
if ((conn->test_flags &&
if ((conn->test_flags &
(TLS_BREAK_VERIFY_DATA | TLS_BREAK_SRV_KEY_X_HASH |
TLS_BREAK_SRV_KEY_X_SIGNATURE)) &&
!conn->test_failure_reported) {