aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp')
-rw-r--r--src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
index e17858598..85556a39e 100644
--- a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
+++ b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
@@ -8,7 +8,6 @@
#include <botan/emsa_pkcs1.h>
#include <botan/hash_id.h>
#include <botan/exceptn.h>
-#include <botan/oids.h>
#include <botan/pk_keys.h>
#include <botan/internal/padding.h>
@@ -99,7 +98,7 @@ AlgorithmIdentifier EMSA_PKCS1v15::config_for_x509(const Private_Key& key,
// for RSA PKCSv1.5 parameters "SHALL" be NULL
- const OID oid = OIDS::str2oid_or_throw(key.algo_name() + "/" + name());
+ const OID oid = OID::from_string(key.algo_name() + "/" + name());
return AlgorithmIdentifier(oid, AlgorithmIdentifier::USE_NULL_PARAM);
}