ecdsa now depends on ASN.1 parse & write
This commit is contained in:
parent
b694b4896c
commit
4846f5ecbc
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue