From 4846f5ecbc05bea84394c966b05122a007402934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 8 Aug 2013 14:36:15 +0200 Subject: [PATCH] ecdsa now depends on ASN.1 parse & write --- include/polarssl/config.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/polarssl/config.h b/include/polarssl/config.h index 119dc67ea..84b36b63f 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -844,7 +844,7 @@ * Module: library/ecdsa.c * Caller: * - * Requires: POLARSSL_ECP_C + * Requires: POLARSSL_ECP_C, POLARSSL_ASN1_WRITE_C, POLARSSL_ASN1_PARSE_C */ #define POLARSSL_ECDSA_C @@ -1371,7 +1371,10 @@ #error "POLARSSL_ECDH_C defined, but not all prerequisites" #endif -#if defined(POLARSSL_ECDSA_C) && !defined(POLARSSL_ECP_C) +#if defined(POLARSSL_ECDSA_C) && \ + ( !defined(POLARSSL_ECP_C) || \ + !defined(POLARSSL_ASN1_PARSE_C) || \ + !defined(POLARSSL_ASN1_WRITE_C) ) #error "POLARSSL_ECDSA_C defined, but not all prerequisites" #endif