diff options
author | Jack Lloyd <[email protected]> | 2019-03-01 09:00:47 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-03-01 09:00:47 -0500 |
commit | 89b1838943e37b8f11b77f336691c9c6d250587b (patch) | |
tree | c113ee182197f7f54b58a6af00df3640a120ba04 /src/lib/pubkey/ec_group/ec_group.cpp | |
parent | ff9174588a7ab7c1f7c2c88f24cb9a01dc6381f8 (diff) |
s/as_string/to_string/
A few older APIs use as_string where everywhere else uses to_string.
Add to_string's where missing, and deprecate X::as_string.
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.cpp')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.cpp b/src/lib/pubkey/ec_group/ec_group.cpp index f4419c7f0..2067d57c4 100644 --- a/src/lib/pubkey/ec_group/ec_group.cpp +++ b/src/lib/pubkey/ec_group/ec_group.cpp @@ -351,7 +351,7 @@ EC_Group::EC_Group(const OID& domain_oid) { this->m_data = ec_group_data().lookup(domain_oid); if(!this->m_data) - throw Invalid_Argument("Unknown EC_Group " + domain_oid.as_string()); + throw Invalid_Argument("Unknown EC_Group " + domain_oid.to_string()); } EC_Group::EC_Group(const std::string& str) |