[openssh-commits] [openssh] 18/22: upstream: correct return code; ok djm

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Mar 13 13:18:55 AEDT 2020


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

djm pushed a commit to branch master
in repository openssh.

commit 46e5c4c8ffcd1569bcd5d04803abaa2ecf3e4cff
Author: markus at openbsd.org <markus at openbsd.org>
Date:   Fri Mar 6 18:27:50 2020 +0000

    upstream: correct return code; ok djm
    
    OpenBSD-Commit-ID: 319d09e3b7f4b2bc920c67244d9ff6426b744810
---
 sshsig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshsig.c b/sshsig.c
index ef6c4e52..781153fc 100644
--- a/sshsig.c
+++ b/sshsig.c
@@ -981,7 +981,7 @@ sshsig_find_principals(const char *path, const struct sshkey *sign_key,
 	char *line = NULL;
 	size_t linesize = 0;
 	u_long linenum = 0;
-	int r, oerrno;
+	int r = SSH_ERR_INTERNAL_ERROR, oerrno;
 
 	if ((f = fopen(path, "r")) == NULL) {
 		oerrno = errno;

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


More information about the openssh-commits mailing list