1
0
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:
Justus Winter
2016-03-29 13:07:04 +02:00
committed by Andreas Schneider
parent 878a650c7a
commit 92fdf31d29

View File

@@ -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,