aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/pkcs11/p11_ecc_key.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-07 10:53:02 -0500
committerJack Lloyd <[email protected]>2018-02-07 10:53:02 -0500
commitd4ef204878ed7c675c16531a482cd373b8fa8b0b (patch)
tree08646135b902f06fbe5085e4bfa625ea3c534c55 /src/lib/prov/pkcs11/p11_ecc_key.cpp
parent0d63e98483e304a385013a4568312ab94dff3822 (diff)
Fix compliation problem in PKCS11
./configure.py --amal --mini --enable-modules=pkcs11 would fail to build because the guarded includes of pk_keys.h ended up hiding the declaration entirely. This is really a bug in how the amalgamation is generated but may be hard to fix in the general case.
Diffstat (limited to 'src/lib/prov/pkcs11/p11_ecc_key.cpp')
-rw-r--r--src/lib/prov/pkcs11/p11_ecc_key.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/prov/pkcs11/p11_ecc_key.cpp b/src/lib/prov/pkcs11/p11_ecc_key.cpp
index 3a0fa6350..d5a9a2b76 100644
--- a/src/lib/prov/pkcs11/p11_ecc_key.cpp
+++ b/src/lib/prov/pkcs11/p11_ecc_key.cpp
@@ -7,6 +7,7 @@
*/
#include <botan/p11_ecc_key.h>
+#include <botan/pk_keys.h>
#if defined(BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO)