[openssh-commits] [openssh] 04/05: upstream: close the "touch your security key" notifier on the error

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Nov 15 13:41:47 AEDT 2019


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 49dc9fa928d77807c53bdc2898db7fb515fe5eb3
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Nov 15 02:37:24 2019 +0000

    upstream: close the "touch your security key" notifier on the error
    
    path too
    
    OpenBSD-Commit-ID: c7628bf80505c1aefbb1de7abc8bb5ee51826829
---
 sshconnect2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sshconnect2.c b/sshconnect2.c
index 85c1c231..d658ed07 100644
--- a/sshconnect2.c
+++ b/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.
@@ -1197,7 +1197,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.
@@ -1209,6 +1208,7 @@ identity_sign(struct identity *id, u_char **sigp, size_t *lenp,
 	/* success */
 	r = 0;
  out:
+	notify_complete(notifier);
 	sshkey_free(prv);
 	return r;
 }

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list