Fix dependency that was not checked

This commit is contained in:
Manuel Pégourié-Gonnard 2015-01-28 16:32:36 +00:00
parent 78dbeeffd3
commit 94de33140b

View file

@ -181,6 +181,11 @@
#error "POLARSSL_PEM_WRITE_C defined, but not all prerequisites"
#endif
#if defined(POLARSSL_PK_C) && \
( !defined(POLARSSL_RSA_C) && !defined(POLARSSL_ECP_C) )
#error "POLARSSL_PK_C defined, but not all prerequisites"
#endif
#if defined(POLARSSL_PK_PARSE_C) && !defined(POLARSSL_PK_C)
#error "POLARSSL_PK_PARSE_C defined, but not all prerequisites"
#endif