From 59da0a46a43256f240c65917d05eeb3cbb727862 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Mon, 19 Aug 2013 13:27:17 +0200 Subject: [PATCH] Added config check for POLARSSL_SSL_SESSION_TICKETS --- include/polarssl/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/polarssl/config.h b/include/polarssl/config.h index 41013d846..fc0571fea 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -1451,6 +1451,11 @@ #error "POLARSSL_SSL_SRV_C defined, but not all prerequisites" #endif +#if defined(POLARSSL_SSL_SESSION_TICKETS) && defined(POLARSSL_SSL_TLS_C) && \ + ( !defined(POLARSSL_AES_C) || !defined(POLARSSL_SHA256_C) ) +#error "POLARSSL_SSL_SESSION_TICKETS_C defined, but not all prerequisites" +#endif + #if defined(POLARSSL_X509_PARSE_C) && ( !defined(POLARSSL_BIGNUM_C) || \ !defined(POLARSSL_OID_C) || !defined(POLARSSL_ASN1_PARSE_C) || \ !defined(POLARSSL_RSA_C) )