diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2021-02-18 02:13:59 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2021-02-18 02:13:59 +0000 |
commit | 701b070c0042114d9e58d85c350fff8bb0e11f73 (patch) | |
tree | 6ddf988ce8424eaa074407bb34a7b0a3c7df8ce2 | |
parent | d40eb1c6ce2a40f7577ae4f23b31d5e8a97cdda8 (diff) |
unbreak SK_DEBUG builds
from https://github.com/openssh/openssh-portable/pull/225 by
ZenithalHourlyRate
-rw-r--r-- | usr.bin/ssh/ssh-sk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-sk.c b/usr.bin/ssh/ssh-sk.c index fe441aaa574..75a9c22605d 100644 --- a/usr.bin/ssh/ssh-sk.c +++ b/usr.bin/ssh/ssh-sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-sk.c,v 1.33 2020/10/18 11:32:02 djm Exp $ */ +/* $OpenBSD: ssh-sk.c,v 1.34 2021/02/18 02:13:58 djm Exp $ */ /* * Copyright (c) 2019 Google LLC * @@ -684,8 +684,8 @@ sshsk_sign(const char *provider_path, struct sshkey *key, #ifdef DEBUG_SK fprintf(stderr, "%s: sig_flags = 0x%02x, sig_counter = %u\n", __func__, resp->flags, resp->counter); - fprintf(stderr, "%s: hashed message:\n", __func__); - sshbuf_dump_data(message, sizeof(message), stderr); + fprintf(stderr, "%s: data to sign:\n", __func__); + sshbuf_dump_data(data, datalen, stderr); fprintf(stderr, "%s: sigbuf:\n", __func__); sshbuf_dump(sig, stderr); #endif |