summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-sk-helper.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2020-01-25 23:13:10 +0000
committerDamien Miller <djm@cvs.openbsd.org>2020-01-25 23:13:10 +0000
commita610aa55cda1a1502a9a4a2d9dfcf4546435729f (patch)
treedb8c529d24d02ef5d554af437365058f6ae691ca /usr.bin/ssh/ssh-sk-helper.c
parent4f12d91895c4b4eb8ffcd3405fe00633f6138778 (diff)
improve the error message for u2f enrollment errors by making
ssh-keygen be solely responsible for printing the error message and convertint some more common error responses from the middleware to a useful ssherr.h status code. more detail remains visible via -v of course. also remove indepedent copy of sk-api.h declarations in sk-usbhid.c and just include it. feedback & ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-sk-helper.c')
-rw-r--r--usr.bin/ssh/ssh-sk-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-sk-helper.c b/usr.bin/ssh/ssh-sk-helper.c
index b10bf3241c6..90e8b08abdd 100644
--- a/usr.bin/ssh/ssh-sk-helper.c
+++ b/usr.bin/ssh/ssh-sk-helper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-sk-helper.c,v 1.8 2020/01/10 23:43:26 djm Exp $ */
+/* $OpenBSD: ssh-sk-helper.c,v 1.9 2020/01/25 23:13:09 djm Exp $ */
/*
* Copyright (c) 2019 Google LLC
*
@@ -60,7 +60,7 @@ reply_error(int r, char *fmt, ...)
va_start(ap, fmt);
xvasprintf(&msg, fmt, ap);
va_end(ap);
- error("%s: %s", __progname, msg);
+ debug("%s: %s", __progname, msg);
free(msg);
if (r >= 0)