Skip to content

Commit e19cd49

Browse files
shivakdaztucker
authored andcommitted
Fix compilation with DEBUG_SK enabled
In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block.
1 parent 67ace92 commit e19cd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh-ecdsa-sk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ ssh_ecdsa_sk_verify(const struct sshkey *key,
310310
}
311311

312312
#ifdef DEBUG_SK
313-
fprintf(stderr, "%s: data: (len %zu)\n", __func__, datalen);
313+
fprintf(stderr, "%s: data: (len %zu)\n", __func__, dlen);
314314
/* sshbuf_dump_data(data, datalen, stderr); */
315315
fprintf(stderr, "%s: sig_r: %s\n", __func__, (tmp = BN_bn2hex(sig_r)));
316316
free(tmp);

0 commit comments

Comments
 (0)