diff options
author | markus@openbsd.org <markus@openbsd.org> | 2020-03-06 18:27:50 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-03-13 13:18:31 +1100 |
commit | 46e5c4c8ffcd1569bcd5d04803abaa2ecf3e4cff (patch) | |
tree | 1974743eaa4a3b5fb956ddcd3201646ddc586cc2 | |
parent | 31c39e7840893f1bfdcbe4f813b20d1d7e69ec3e (diff) |
upstream: correct return code; ok djm
OpenBSD-Commit-ID: 319d09e3b7f4b2bc920c67244d9ff6426b744810
-rw-r--r-- | sshsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |