upstream: correct return code; ok djm
OpenBSD-Commit-ID: 319d09e3b7f4b2bc920c67244d9ff6426b744810
This commit is contained in:
parent
31c39e7840
commit
46e5c4c8ff
2
sshsig.c
2
sshsig.c
|
@ -981,7 +981,7 @@ sshsig_find_principals(const char *path, const struct sshkey *sign_key,
|
||||||
char *line = NULL;
|
char *line = NULL;
|
||||||
size_t linesize = 0;
|
size_t linesize = 0;
|
||||||
u_long linenum = 0;
|
u_long linenum = 0;
|
||||||
int r, oerrno;
|
int r = SSH_ERR_INTERNAL_ERROR, oerrno;
|
||||||
|
|
||||||
if ((f = fopen(path, "r")) == NULL) {
|
if ((f = fopen(path, "r")) == NULL) {
|
||||||
oerrno = errno;
|
oerrno = errno;
|
||||||
|
|
Loading…
Reference in New Issue