[openssh-commits] [openssh] branch master updated: Fix compilation with DEBUG_SK enabled

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Dec 2 20:43:10 AEDT 2024


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new e19cd494 Fix compilation with DEBUG_SK enabled
e19cd494 is described below

commit e19cd494b567a73dc390e09b47c1e21545e6116b
Author: Shiva Kaul <shiva.kaul at gmail.com>
AuthorDate: Mon Dec 2 02:04:20 2024 -0500

    Fix compilation with DEBUG_SK enabled
    
    In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block.
---
 ssh-ecdsa-sk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c
index 27ddf904..3588b11a 100644
--- a/ssh-ecdsa-sk.c
+++ b/ssh-ecdsa-sk.c
@@ -310,7 +310,7 @@ ssh_ecdsa_sk_verify(const struct sshkey *key,
 	}
 
 #ifdef DEBUG_SK
-	fprintf(stderr, "%s: data: (len %zu)\n", __func__, datalen);
+	fprintf(stderr, "%s: data: (len %zu)\n", __func__, dlen);
 	/* sshbuf_dump_data(data, datalen, stderr); */
 	fprintf(stderr, "%s: sig_r: %s\n", __func__, (tmp = BN_bn2hex(sig_r)));
 	free(tmp);

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list