aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-22 11:15:32 -0400
committerJack Lloyd <[email protected]>2016-10-22 11:15:32 -0400
commitf0351cdcedcc088ce7e73b8260eb98e971358ccc (patch)
tree663abd2c8f6459dee96f102f178798d90577c5e5 /src/lib
parent6aa855bba613c7b6fedfbe71d15930964acb1633 (diff)
Use correct macro for ECC in create_private_key
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pubkey/pk_algs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/pk_algs.cpp b/src/lib/pubkey/pk_algs.cpp
index f04f189f7..2a34bd6f6 100644
--- a/src/lib/pubkey/pk_algs.cpp
+++ b/src/lib/pubkey/pk_algs.cpp
@@ -226,7 +226,7 @@ create_private_key(const std::string& alg_name,
#endif
// ECC crypto
-#if defined(BOTAN_HAS_ECC_CRYPTO)
+#if defined(BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO)
if(alg_name == "ECDSA" ||
alg_name == "ECDH" ||