summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-sk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-sk.c b/ssh-sk.c
index 41fa164b7..754577d9d 100644
--- a/ssh-sk.c
+++ b/ssh-sk.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-sk.c,v 1.10 2019/11/12 22:38:19 djm Exp $ */ 1/* $OpenBSD: ssh-sk.c,v 1.11 2019/11/13 20:25:45 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Google LLC 3 * Copyright (c) 2019 Google LLC
4 * 4 *
@@ -366,7 +366,7 @@ sshsk_ecdsa_sig(struct sk_sign_response *resp, struct sshbuf *sig)
366 int r = SSH_ERR_INTERNAL_ERROR; 366 int r = SSH_ERR_INTERNAL_ERROR;
367 367
368 /* Check response validity */ 368 /* Check response validity */
369 if (resp->sig_r == NULL || resp->sig_r == NULL) { 369 if (resp->sig_r == NULL || resp->sig_s == NULL) {
370 error("%s: sk_sign response invalid", __func__); 370 error("%s: sk_sign response invalid", __func__);
371 r = SSH_ERR_INVALID_FORMAT; 371 r = SSH_ERR_INVALID_FORMAT;
372 goto out; 372 goto out;