mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Add timestamp/serial to cookies, with timeout
This commit is contained in:
committed by
Paul Bakker
parent
445a1ec6cd
commit
e90308178f
@ -48,7 +48,10 @@ extern "C" {
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
md_context_t hmac_ctx;
|
||||
md_context_t hmac_ctx; /*!< context for the HMAC portion */
|
||||
#if !defined(POLARSSL_HAVE_TIME)
|
||||
unsigned long serial; /*!< serial number for expiration */
|
||||
#endif
|
||||
} ssl_cookie_ctx;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user