Added cookie key rotation

This commit is contained in:
Nikos Mavrogiannopoulos
2015-11-14 10:41:22 +01:00
parent fd5f9df898
commit 2473633b8d
13 changed files with 120 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
typedef struct sec_mod_st {
gnutls_datum_t dcookie_key; /* the key to generate cookies */
uint8_t cookie_key[COOKIE_KEY_SIZE];
time_t cookie_key_last_update;
struct cfg_st *config;
struct perm_cfg_st *perm_config;