Skip to content

Instantly share code, notes, and snippets.

@Jakuje
Created November 9, 2017 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jakuje/b1f7161d89472c4b6a3e2024675b0b46 to your computer and use it in GitHub Desktop.
Save Jakuje/b1f7161d89472c4b6a3e2024675b0b46 to your computer and use it in GitHub Desktop.
diff --git a/ssh-rsa.c b/ssh-rsa.c
index 6e2bba0d..b82045e2 100644
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -232,6 +232,7 @@ ssh_rsa_verify(const struct sshkey *key,
ret = SSH_ERR_KEY_TYPE_MISMATCH;
goto out;
}
+ debug("Verifying signature with ktype=%s and hash_alg=%d", ktype, hash_alg);
if (sshbuf_get_string(b, &sigblob, &len) != 0) {
ret = SSH_ERR_INVALID_FORMAT;
goto out;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment