diff options
-rw-r--r-- | src/lib/prov/openssl/openssl_ec.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/prov/openssl/openssl_ec.cpp b/src/lib/prov/openssl/openssl_ec.cpp index f0e70fe56..fe795fcde 100644 --- a/src/lib/prov/openssl/openssl_ec.cpp +++ b/src/lib/prov/openssl/openssl_ec.cpp @@ -39,10 +39,10 @@ namespace Botan { -namespace { - #if defined(BOTAN_HAS_ECC_PUBLIC_KEY_CRYPTO) +namespace { + secure_vector<byte> PKCS8_for_openssl(const EC_PrivateKey& ec) { const PointGFp& pub_key = ec.public_point(); @@ -85,10 +85,14 @@ int OpenSSL_EC_nid_for(const OID& oid) return -1; } +} + #endif #if defined(BOTAN_HAS_ECDSA) && !defined(OPENSSL_NO_ECDSA) +namespace { + class OpenSSL_ECDSA_Verification_Operation : public PK_Ops::Verification_with_EMSA { public: |