summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2020-03-06 18:25:49 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2020-03-06 18:25:49 +0000
commit6bdd352a888b6fe6640310ce463b7d84053c743a (patch)
treeeefab7373b8e68a994050fceb3a52aec68e6f987 /usr.bin
parente0e7811b27e6dd42dc3f53d812b6802c8b45abfc (diff)
return correct error in sshsk_ed25519_sig; ok djm
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-sk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-sk.c b/usr.bin/ssh/ssh-sk.c
index 85806ab33ba..be6bbbd9389 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.28 2020/02/28 01:06:05 djm Exp $ */
+/* $OpenBSD: ssh-sk.c,v 1.29 2020/03/06 18:25:48 markus Exp $ */
/*
* Copyright (c) 2019 Google LLC
*
@@ -592,7 +592,7 @@ sshsk_ed25519_sig(struct sk_sign_response *resp, struct sshbuf *sig)
#endif
r = 0;
out:
- return 0;
+ return r;
}
int