mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-08 04:26:37 +00: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