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)
downloadopenssh-git-46e5c4c8ffcd1569bcd5d04803abaa2ecf3e4cff.tar.gz
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 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;