From 5508782834dc7f85960d6929ebbf7be97527b6c7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 28 Aug 2022 06:20:21 +0200 Subject: checkSignThenDecrypt_Impl: Remove unused constant, also interpreted as ambiguous ctor variant (empty brackets on GCC 11.2) --- src/cipherpack/crypto1.cpp | 1 - 1 file changed, 1 deletion(-) 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& 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 */)+ -- cgit v1.2.3