aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-03-01 09:00:47 -0500
committerJack Lloyd <[email protected]>2019-03-01 09:00:47 -0500
commit89b1838943e37b8f11b77f336691c9c6d250587b (patch)
treec113ee182197f7f54b58a6af00df3640a120ba04 /src/cli
parentff9174588a7ab7c1f7c2c88f24cb9a01dc6381f8 (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/cli')
-rw-r--r--src/cli/pk_crypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/pk_crypt.cpp b/src/cli/pk_crypt.cpp
index 4888a742f..b7fd62ac1 100644
--- a/src/cli/pk_crypt.cpp
+++ b/src/cli/pk_crypt.cpp
@@ -179,7 +179,7 @@ class PK_Decrypt final : public Command
if(oaep_hash.empty())
{
- error_output() << "Unknown hash function used with OAEP, OID " << oaep_hash_id.get_oid().as_string() << "\n";
+ error_output() << "Unknown hash function used with OAEP, OID " << oaep_hash_id.get_oid().to_string() << "\n";
return set_return_code(1);
}