Skip to content

Commit

Permalink
Fix compilation with DEBUG_SK enabled
Browse files Browse the repository at this point in the history
In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block.
  • Loading branch information
shivak authored and daztucker committed Dec 2, 2024
1 parent 67ace92 commit e19cd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-ecdsa-sk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e19cd49

Please sign in to comment.