diff options
author | Daniel Neus <[email protected]> | 2016-06-28 18:25:44 +0200 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2016-06-28 18:25:44 +0200 |
commit | e6e8151cf6900d3a1b83ebb40527022438aefa8f (patch) | |
tree | 753ec18a2f8bc527ab16f0f6db362fb43f507a7a /src/tests/test_pkcs11_high_level.cpp | |
parent | dae2bff6dab46c6c9d0ce5f62d0eac8f058c670b (diff) |
check for asn1 and pubkey module presence
Diffstat (limited to 'src/tests/test_pkcs11_high_level.cpp')
-rw-r--r-- | src/tests/test_pkcs11_high_level.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tests/test_pkcs11_high_level.cpp b/src/tests/test_pkcs11_high_level.cpp index 1fe2e6883..3be2b7268 100644 --- a/src/tests/test_pkcs11_high_level.cpp +++ b/src/tests/test_pkcs11_high_level.cpp @@ -26,8 +26,13 @@ #include <botan/p11_randomgenerator.h> #endif -#include <botan/der_enc.h> -#include <botan/pubkey.h> +#if defined(BOTAN_HAS_ASN1) + #include <botan/der_enc.h> +#endif + +#if defined (BOTAN_HAS_PUBLIC_KEY_CRYPTO) + #include <botan/pubkey.h> +#endif #if defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_PKCS11) #include <botan/rsa.h> |