diff options
author | Jack Lloyd <[email protected]> | 2019-03-03 19:09:47 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-03-03 19:09:47 -0500 |
commit | b99dd1754909e8702d116c842a0e2d2246b76652 (patch) | |
tree | 881f6669f410c345326ff7d1a9ca66f6bdc0b10f /src/lib/x509/x509_obj.cpp | |
parent | e44f4b5d06a3b10c5cfd380cd3917f94bdb03fef (diff) | |
parent | b999c51e42b394bdcab38cd1c3b5d46c3adaba64 (diff) |
Merge GH #1849 Prefer to_string over as_string
Diffstat (limited to 'src/lib/x509/x509_obj.cpp')
-rw-r--r-- | src/lib/x509/x509_obj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/x509_obj.cpp b/src/lib/x509/x509_obj.cpp index 6c591bde7..74786c224 100644 --- a/src/lib/x509/x509_obj.cpp +++ b/src/lib/x509/x509_obj.cpp @@ -144,7 +144,7 @@ std::string X509_Object::hash_used_for_signature() const if(sig_info.size() == 1 && sig_info[0] == "Ed25519") return "SHA-512"; else if(sig_info.size() != 2) - throw Internal_Error("Invalid name format found for " + oid.as_string()); + throw Internal_Error("Invalid name format found for " + oid.to_string()); if(sig_info[1] == "EMSA4") { |