mbedtls/include/mbedtls
Hanno Becker f9b3303eb9 Introduce specific error for ver/cfg mismatch on deserialization
This commit introduces a new SSL error code

  `MBEDTLS_ERR_SSL_VERSION_MISMATCH`

which can be used to indicate operation failure due to a
mismatch of version or configuration.

It is put to use in the implementation of `mbedtls_ssl_session_load()`
to signal the attempt to de-serialize a session which has been serialized
in a build of Mbed TLS using a different version or configuration.
2019-08-23 12:51:21 +03:00
..
certs.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
check_config.h Rename MBEDTLS_SSL_CID to MBEDTLS_SSL_DTLS_CONNECTION_ID 2019-06-03 16:07:50 +01:00
compat-1.3.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
config.h Merge remote-tracking branch 'origin/pr/2781' into development 2019-08-22 11:08:52 +01:00
debug.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
error.h Introduce specific error for ver/cfg mismatch on deserialization 2019-08-23 12:51:21 +03:00
net.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
net_sockets.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
pkcs11.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
ssl.h Introduce specific error for ver/cfg mismatch on deserialization 2019-08-23 12:51:21 +03:00
ssl_cache.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
ssl_ciphersuites.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
ssl_cookie.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
ssl_internal.h Make calc_verify() return the length as well 2019-08-23 12:45:33 +03:00
ssl_ticket.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
version.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
x509.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
x509_crl.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
x509_crt.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00
x509_csr.h Use mbedtls-based path for includes 2019-08-15 15:44:50 +01:00