upstream: unbreak SK_DEBUG builds

from https://github.com/openssh/openssh-portable/pull/225 by
ZenithalHourlyRate

OpenBSD-Commit-ID: 28d7259ce1b04d025411464decfa2f1a097b43eb
This commit is contained in:
djm@openbsd.org 2021-02-18 02:13:58 +00:00 committed by Damien Miller
parent 788cbc5b74
commit 88e3d4de31

View File

@ -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 * Copyright (c) 2019 Google LLC
* *
@ -694,8 +694,8 @@ sshsk_sign(const char *provider_path, struct sshkey *key,
#ifdef DEBUG_SK #ifdef DEBUG_SK
fprintf(stderr, "%s: sig_flags = 0x%02x, sig_counter = %u\n", fprintf(stderr, "%s: sig_flags = 0x%02x, sig_counter = %u\n",
__func__, resp->flags, resp->counter); __func__, resp->flags, resp->counter);
fprintf(stderr, "%s: hashed message:\n", __func__); fprintf(stderr, "%s: data to sign:\n", __func__);
sshbuf_dump_data(message, sizeof(message), stderr); sshbuf_dump_data(data, datalen, stderr);
fprintf(stderr, "%s: sigbuf:\n", __func__); fprintf(stderr, "%s: sigbuf:\n", __func__);
sshbuf_dump(sig, stderr); sshbuf_dump(sig, stderr);
#endif #endif