mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Add timestamp/serial to cookies, with timeout
This commit is contained in:
parent
445a1ec6cd
commit
e90308178f
2 changed files with 93 additions and 30 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue