diff options
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_named.cpp')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_named.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/ec_named.cpp b/src/lib/pubkey/ec_group/ec_named.cpp index c19b8ed37..2aef0ad31 100644 --- a/src/lib/pubkey/ec_group/ec_named.cpp +++ b/src/lib/pubkey/ec_group/ec_named.cpp @@ -9,7 +9,8 @@ namespace Botan { -const char* EC_Group::PEM_for_named_group(const std::string& name) +//static +std::string EC_Group::PEM_for_named_group(const std::string& name) { if(name == "secp160k1") return @@ -270,7 +271,7 @@ const char* EC_Group::PEM_for_named_group(const std::string& name) return BOTAN_HOUSE_ECC_CURVE_PEM; #endif - return nullptr; + return ""; } } |