Update dependencies and documentation

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-25 19:34:49 +02:00
parent 1e9c4db524
commit 4214e3a0eb
3 changed files with 8 additions and 6 deletions

View File

@ -420,9 +420,7 @@
#error "MBEDTLS_SSL_EXTENDED_MASTER_SECRET defined, but not all prerequsites"
#endif
#if defined(MBEDTLS_SSL_TICKET_C) && \
( !defined(MBEDTLS_AES_C) || !defined(MBEDTLS_SHA256_C) || \
!defined(MBEDTLS_CIPHER_MODE_CBC) )
#if defined(MBEDTLS_SSL_TICKET_C) && !defined(MBEDTLS_CIPHER_C)
#error "MBEDTLS_SSL_TICKET_C defined, but not all prerequisites"
#endif

View File

@ -2095,9 +2095,7 @@
* Module: library/ssl_ticket.c
* Caller:
*
* Requires: MBEDTLS_AES_C
* MBEDTLS_SHA256_C
* MBEDTLS_CIPHER_MODE_CBC
* Requires: MBEDTLS_CIPHER_C
*/
#define MBEDTLS_SSL_TICKET_C

View File

@ -24,6 +24,12 @@
#ifndef MBEDTLS_SSL_TICKET_H
#define MBEDTLS_SSL_TICKET_H
/*
* This implementation of the session ticket callbacks includes key
* management, rotating the keys periodically in order to preserve forward
* secrecy, when MBEDTLS_HAVE_TIME is defined.
*/
#include "ssl.h"
#include "cipher.h"