mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
pki: Fix debug message
* src/pki.c (ssh_pki_signature_verify_blob): Fix debug message. Signed-off-by: Justus Winter <justus@g10code.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
878a650c7a
commit
92fdf31d29
@@ -1579,7 +1579,11 @@ int ssh_pki_signature_verify_blob(ssh_session session,
|
|||||||
|
|
||||||
sha1(digest, dlen, hash);
|
sha1(digest, dlen, hash);
|
||||||
#ifdef DEBUG_CRYPTO
|
#ifdef DEBUG_CRYPTO
|
||||||
ssh_print_hexa("Hash to be verified with dsa", hash, SHA_DIGEST_LEN);
|
ssh_print_hexa(key->type == SSH_KEYTYPE_DSS
|
||||||
|
? "Hash to be verified with DSA"
|
||||||
|
: "Hash to be verified with RSA",
|
||||||
|
hash,
|
||||||
|
SHA_DIGEST_LEN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rc = pki_signature_verify(session,
|
rc = pki_signature_verify(session,
|
||||||
|
Reference in New Issue
Block a user