summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-02-18 03:13:58 +0100
committerDamien Miller <djm@mindrot.org>2021-02-18 03:17:43 +0100
commit88e3d4de31ab4f14cac658e9e0c512043b15b146 (patch)
treeb83e8e9ddf7d7ea52bcc1154b39bc4a887cd8093
parentupstream: sftp-server: implement limits@openssh.com extension (diff)
downloadopenssh-88e3d4de31ab4f14cac658e9e0c512043b15b146.tar.xz
openssh-88e3d4de31ab4f14cac658e9e0c512043b15b146.zip
upstream: unbreak SK_DEBUG builds
from https://github.com/openssh/openssh-portable/pull/225 by ZenithalHourlyRate OpenBSD-Commit-ID: 28d7259ce1b04d025411464decfa2f1a097b43eb
-rw-r--r--ssh-sk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-sk.c b/ssh-sk.c
index e87b3f3b9..b9f231282 100644
--- a/ssh-sk.c
+++ b/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
*
@@ -694,8 +694,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