diff options
author | Jack Lloyd <[email protected]> | 2018-06-04 20:50:39 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-04 20:50:39 -0400 |
commit | da70cf93ee0cc5971fc0cb2fba1ef58d105f9e98 (patch) | |
tree | 20495db85fced332fb6cac89e84eb51dd91f79b8 /src/lib/pubkey | |
parent | 607b0315446f6af175ba68cd6a90a1090f90feda (diff) |
Correct exception message [ci skip]
The previous message was both incorrect and very misleading.
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r-- | src/lib/pubkey/pubkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/pubkey.cpp b/src/lib/pubkey/pubkey.cpp index 632514020..048fd3130 100644 --- a/src/lib/pubkey/pubkey.cpp +++ b/src/lib/pubkey/pubkey.cpp @@ -334,7 +334,7 @@ bool PK_Verifier::check_signature(const uint8_t sig[], size_t length) if(reencoded.size() != length || same_mem(reencoded.data(), sig, reencoded.size()) == false) { - throw Decoding_Error("PK_Verifier: signature is not valid BER"); + throw Decoding_Error("PK_Verifier: signature is not the canonical DER encoding"); } return m_op->is_valid_signature(real_sig.data(), real_sig.size()); |