diff options
author | 2019-11-15 02:37:24 +0000 | |
---|---|---|
committer | 2019-11-15 02:37:24 +0000 | |
commit | 4c7cc78c1b124689a1e9ae2466b8f5f064c80823 (patch) | |
tree | 7150bf6f27097ea892c1a57e66313d75cc4ace42 /usr.bin/ssh/sshconnect2.c | |
parent | correct function name in debug message (diff) | |
download | wireguard-openbsd-4c7cc78c1b124689a1e9ae2466b8f5f064c80823.tar.xz wireguard-openbsd-4c7cc78c1b124689a1e9ae2466b8f5f064c80823.zip |
close the "touch your security key" notifier on the error path too
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 6689e020710..5fcfb5a70f8 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.313 2019/11/13 04:47:52 deraadt Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.314 2019/11/15 02:37:24 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -1190,7 +1190,6 @@ identity_sign(struct identity *id, u_char **sigp, size_t *lenp, debug("%s: sshkey_sign: %s", __func__, ssh_err(r)); goto out; } - notify_complete(notifier); /* * PKCS#11 tokens may not support all signature algorithms, * so check what we get back. @@ -1202,6 +1201,7 @@ identity_sign(struct identity *id, u_char **sigp, size_t *lenp, /* success */ r = 0; out: + notify_complete(notifier); sshkey_free(prv); return r; } |