Mercurial > dropbear
diff libtomcrypt/src/headers/tomcrypt_custom.h @ 1711:e9dba7abd939
Merge libtomcrypt v1.18.2
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 10 Jun 2020 23:16:13 +0800 |
parents | 1ff2a1034c52 |
children |
line wrap: on
line diff
--- a/libtomcrypt/src/headers/tomcrypt_custom.h Wed Jun 10 23:01:33 2020 +0800 +++ b/libtomcrypt/src/headers/tomcrypt_custom.h Wed Jun 10 23:16:13 2020 +0800 @@ -480,6 +480,13 @@ #endif #endif +#if defined(LTC_DER) + #ifndef LTC_DER_MAX_RECURSION + /* Maximum recursion limit when processing nested ASN.1 types. */ + #define LTC_DER_MAX_RECURSION 30 + #endif +#endif + #if defined(LTC_MECC) || defined(LTC_MRSA) || defined(LTC_MDSA) || defined(LTC_MKAT) /* Include the MPI functionality? (required by the PK algorithms) */ #define LTC_MPI