summaryrefslogtreecommitdiff
path: root/sshsig.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2020-03-06 18:27:50 +0000
committerDamien Miller <djm@mindrot.org>2020-03-13 13:18:31 +1100
commit46e5c4c8ffcd1569bcd5d04803abaa2ecf3e4cff (patch)
tree1974743eaa4a3b5fb956ddcd3201646ddc586cc2 /sshsig.c
parent31c39e7840893f1bfdcbe4f813b20d1d7e69ec3e (diff)
upstream: correct return code; ok djm
OpenBSD-Commit-ID: 319d09e3b7f4b2bc920c67244d9ff6426b744810
Diffstat (limited to 'sshsig.c')
-rw-r--r--sshsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshsig.c b/sshsig.c
index ef6c4e526..781153fce 100644
--- a/sshsig.c
+++ b/sshsig.c
@@ -981,7 +981,7 @@ sshsig_find_principals(const char *path, const struct sshkey *sign_key,
981 char *line = NULL; 981 char *line = NULL;
982 size_t linesize = 0; 982 size_t linesize = 0;
983 u_long linenum = 0; 983 u_long linenum = 0;
984 int r, oerrno; 984 int r = SSH_ERR_INTERNAL_ERROR, oerrno;
985 985
986 if ((f = fopen(path, "r")) == NULL) { 986 if ((f = fopen(path, "r")) == NULL) {
987 oerrno = errno; 987 oerrno = errno;