aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-08-28 06:20:21 +0200
committerSven Gothel <[email protected]>2022-08-28 06:20:21 +0200
commit5508782834dc7f85960d6929ebbf7be97527b6c7 (patch)
tree235e904a3c8e9ae6fe8b91fadbd588658818b52f
parentb8d0cd9007c1db8a97b7026151a95c5b91bc1a69 (diff)
checkSignThenDecrypt_Impl: Remove unused constant, also interpreted as ambiguous ctor variant (empty brackets on GCC 11.2)
-rw-r--r--src/cipherpack/crypto1.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cipherpack/crypto1.cpp b/src/cipherpack/crypto1.cpp
index 8e62bb1..81f8f6b 100644
--- a/src/cipherpack/crypto1.cpp
+++ b/src/cipherpack/crypto1.cpp
@@ -922,7 +922,6 @@ static PackHeader checkSignThenDecrypt_Impl(const std::vector<std::string>& sign
input.clear_recording(); // implies stop
}
if( !verifier.check_signature(sender_signature) ) {
- const std::string msg();
listener->notifyError(decrypt_mode, header,
"Signature mismatch on "+std::to_string(in_bytes_signature)+" header bytes / "+std::to_string(in_bytes_header)+
" bytes, received signature '"+jau::bytesHexString(sender_signature, true /* lsbFirst */)+