From: djm Date: Thu, 18 Feb 2021 02:13:58 +0000 (+0000) Subject: unbreak SK_DEBUG builds X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6239c00195c2289927f8db5c827f1a2f4e1596a9;p=openbsd unbreak SK_DEBUG builds from https://github.com/openssh/openssh-portable/pull/225 by ZenithalHourlyRate --- 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