commit | 70abd7aadcb8221164c05d91d2c14c67dd542bad | [log] [tgz] |
---|---|---|
author | Jarno Lamsa <jarno.lamsa@arm.com> | Tue Nov 12 15:39:38 2019 +0200 |
committer | Jarno Lamsa <jarno.lamsa@arm.com> | Thu Dec 19 07:56:10 2019 +0200 |
tree | a7b1ddf6b370a22643b737f9963281b87c8dd395 | |
parent | 2b20516b60dcd098b333d710b5ad462d8701b15d [diff] [blame] |
Add enumeration for invalid state The invalid state can be used when state-mismatch is noticed. The invalid state should report a FI-alert upwards.
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 8008b51..f147069 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h
@@ -583,6 +583,7 @@ MBEDTLS_SSL_HANDSHAKE_OVER, MBEDTLS_SSL_SERVER_NEW_SESSION_TICKET, MBEDTLS_SSL_SERVER_HELLO_VERIFY_REQUEST_SENT, + MBEDTLS_SSL_INVALID } mbedtls_ssl_states;