Skip to content

Commit f532495

Browse files
APshenkinvslavik
authored andcommitted
VerifyEdDSAPubKey should take arg pubkey
1 parent 32dd7d1 commit f532495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signatureverifier.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ void SignatureVerifier::VerifyDSAPubKeyPem(const std::string &pem)
298298

299299
void SignatureVerifier::VerifyEdDSAPubKey(const std::string& pubkey_base64)
300300
{
301-
const std::string pubkey = Base64ToBin(Settings::GetEdDSAPubKey());
301+
const std::string pubkey = Base64ToBin(pubkey_base64);
302302
if (pubkey.size() != 32)
303303
{
304304
throw BadSignatureException("Invalid public key size.");

0 commit comments

Comments
 (0)