summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiva Kaul <shiva.kaul@gmail.com>2024-12-02 08:04:20 +0100
committerDarren Tucker <dtucker@dtucker.net>2024-12-02 10:41:28 +0100
commite19cd494b567a73dc390e09b47c1e21545e6116b (patch)
tree496bd58957a484e89ec2c2f0781a0c587c89570b
parentupstream: Import regenerated moduli. (diff)
downloadopenssh-e19cd494b567a73dc390e09b47c1e21545e6116b.tar.xz
openssh-e19cd494b567a73dc390e09b47c1e21545e6116b.zip
Fix compilation with DEBUG_SK enabled
In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block.
-rw-r--r--ssh-ecdsa-sk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c
index 27ddf904b..3588b11a4 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);