Encrypt session tickets

This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-03 15:37:58 +02:00 committed by Paul Bakker
parent 779e42982c
commit 990c51a557
3 changed files with 87 additions and 24 deletions

View file

@ -35,6 +35,7 @@
#include "sha1.h"
#include "sha256.h"
#include "sha512.h"
#include "aes.h"
#include "ssl_ciphersuites.h"
@ -452,6 +453,8 @@ struct _ssl_handshake_params
struct _ssl_ticket_keys
{
unsigned char key_name[16]; /*!< name to quickly discard bad tickets */
aes_context enc; /*!< encryption context */
aes_context dec; /*!< decryption context */
};
struct _ssl_context