aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/eme.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-04-26 21:40:15 -0400
committerJack Lloyd <[email protected]>2019-04-26 21:40:15 -0400
commit7743c8e97a377ab3a24d590182d848b65d24dff2 (patch)
tree887ead8d61349be84b86113fd568fc2a0cd1a7d8 /src/lib/pk_pad/eme.cpp
parent0b38f0c30bab4cf942863b4255ab2aabead556a4 (diff)
Fix feature macro checks.
Add a checker script.
Diffstat (limited to 'src/lib/pk_pad/eme.cpp')
-rw-r--r--src/lib/pk_pad/eme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pk_pad/eme.cpp b/src/lib/pk_pad/eme.cpp
index 5164157f7..ffedac923 100644
--- a/src/lib/pk_pad/eme.cpp
+++ b/src/lib/pk_pad/eme.cpp
@@ -14,7 +14,7 @@
#include <botan/oaep.h>
#endif
-#if defined(BOTAN_HAS_EME_PKCS1v15)
+#if defined(BOTAN_HAS_EME_PKCS1)
#include <botan/eme_pkcs.h>
#endif
@@ -31,7 +31,7 @@ EME* get_eme(const std::string& algo_spec)
return new EME_Raw;
#endif
-#if defined(BOTAN_HAS_EME_PKCS1v15)
+#if defined(BOTAN_HAS_EME_PKCS1)
if(algo_spec == "PKCS1v15" || algo_spec == "EME-PKCS1-v1_5")
return new EME_PKCS1v15;
#endif