mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Added truncated hmac negociation (without effect)
This commit is contained in:
committed by
Paul Bakker
parent
e980a994f0
commit
57c2852807
@ -254,6 +254,8 @@
|
||||
|
||||
#define TLS_EXT_MAX_FRAGMENT_LENGTH 1
|
||||
|
||||
#define TLS_EXT_TRUNCATED_HMAC 4
|
||||
|
||||
#define TLS_EXT_SUPPORTED_ELLIPTIC_CURVES 10
|
||||
#define TLS_EXT_SUPPORTED_POINT_FORMATS 11
|
||||
|
||||
@ -336,6 +338,7 @@ struct _ssl_session
|
||||
#endif /* POLARSSL_X509_PARSE_C */
|
||||
|
||||
unsigned char mfl_code; /*!< MaxFragmentLength negotiated by peer */
|
||||
int trunc_hmac; /*!< flag for truncated hmac activation */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user