upstream: correct return code; ok djm

OpenBSD-Commit-ID: 319d09e3b7f4b2bc920c67244d9ff6426b744810
This commit is contained in:
markus@openbsd.org 2020-03-06 18:27:50 +00:00 committed by Damien Miller
parent 31c39e7840
commit 46e5c4c8ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;