Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
18959172
Commit
18959172
authored
May 10, 2000
by
Andreas Gustafsson
Browse files
check isc_lex_openfile() return value against ISC_R_FILENOTFOUND,
not ISC_R_FAILURE
parent
42654cd6
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dns/sec/dst/dst_api.c
View file @
18959172
...
...
@@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.3
2
2000/05/
08 14:37:00 tale
Exp $
* $Id: dst_api.c,v 1.3
3
2000/05/
10 18:54:04 gson
Exp $
*/
#include <config.h>
...
...
@@ -990,7 +990,7 @@ read_public_key(const char *name, const isc_uint16_t id, int alg,
ret
=
isc_lex_openfile
(
lex
,
filename
);
if
(
ret
!=
ISC_R_SUCCESS
)
{
if
(
ret
==
ISC_R_F
A
IL
URE
)
if
(
ret
==
ISC_R_FIL
ENOTFOUND
)
ret
=
ISC_R_NOTFOUND
;
goto
cleanup
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment