From 04784f57e45ef4d83674e75248b3f260cd112fcd Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 19 Aug 2013 13:30:57 +0200
Subject: [PATCH] Added config check for SSL/TLS module that depends on cipher
layer
---
include/polarssl/config.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/polarssl/config.h b/include/polarssl/config.h
index fc0571fea..119dc67ea 100644
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -735,7 +735,7 @@
* Enable the generic cipher layer.
*
* Module: library/cipher.c
- * Caller:
+ * Caller: library/ssl_tls.c
*
* Uncomment to enable generic cipher wrappers.
*/
@@ -1226,7 +1226,7 @@
* Caller: library/ssl_cli.c
* library/ssl_srv.c
*
- * Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C
+ * Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C, POLARSSL_CIPHER_C
*
* This module is required for SSL/TLS.
*/
@@ -1443,7 +1443,7 @@
#endif
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_MD5_C) || \
- !defined(POLARSSL_SHA1_C) )
+ !defined(POLARSSL_SHA1_C) || !defined(POLARSSL_CIPHER_C) )
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
#endif