Skip to content
GitLab
Projects
Groups
Snippets
/
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
2d2e0fff
Commit
2d2e0fff
authored
Oct 01, 2004
by
Mark Andrews
Browse files
1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
parent
314cac23
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
2d2e0fff
1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
1735. [bug] 'dig +sigtrace' could die with a REQUIRE failure.
[RE #12688]
...
...
lib/dns/sec/dst/dst_api.c
View file @
2d2e0fff
...
...
@@ -18,7 +18,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.11
7
2004/
06/16 01:41
:5
2
marka Exp $
* $Id: dst_api.c,v 1.11
8
2004/
10/01 00:10
:5
9
marka Exp $
*/
#include
<config.h>
...
...
@@ -396,7 +396,7 @@ dst_key_fromnamedfile(const char *filename, int type, isc_mem_t *mctx,
if
(
result
!=
ISC_R_SUCCESS
)
return
(
result
);
if
(
type
==
DST_TYPE_PUBLIC
||
if
(
(
type
&
(
DST_TYPE_PRIVATE
|
DST_TYPE_PUBLIC
))
==
DST_TYPE_PUBLIC
||
(
pubkey
->
key_flags
&
DNS_KEYFLAG_TYPEMASK
)
==
DNS_KEYTYPE_NOKEY
)
{
result
=
computeid
(
pubkey
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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