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
382442e2
Commit
382442e2
authored
Aug 20, 1999
by
Brian Wellington
Browse files
Increased size of a few buffers, removed references to cylink toolkit.
parent
04b8111f
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/dns/sec/dst/dst_api.c
View file @
382442e2
...
...
@@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.
3
1999/08/
03 19:48:1
0 bwelling Exp $
* $Id: dst_api.c,v 1.
4
1999/08/
20 17:03:3
0 bwelling Exp $
*/
#include
<config.h>
...
...
@@ -667,9 +667,6 @@ initialize() {
#ifdef OPENSSL
dst_s_openssl_init
();
#endif
#ifdef CYLINK_DSS
dst_s_cylink_init
();
#endif
}
/*
...
...
@@ -750,8 +747,8 @@ read_public_key(const char *name, const isc_uint16_t id, int alg,
* domain.name [ttl] [IN] KEY <flags> <protocol> <algorithm> <key>
*/
/*
54
0 should be large enough for a
1024 bit DSA
key */
iret
=
isc_lex_create
(
mctx
,
55
0
,
&
lex
);
/*
150
0 should be large enough for a
ny
key */
iret
=
isc_lex_create
(
mctx
,
150
0
,
&
lex
);
if
(
iret
!=
ISC_R_SUCCESS
)
return
(
DST_R_NOMEMORY
);
...
...
lib/dns/sec/dst/dst_internal.h
View file @
382442e2
...
...
@@ -30,17 +30,13 @@ ISC_LANG_BEGINDECLS
/*
* define what crypto systems are supported.
* BSAFE, DNSSAFE for RSA
* OPENSSL
, CYLINK
for DSA
* OPENSSL for DSA
* Only one package per algorithm can be defined.
*/
#if defined(BSAFE) && defined(DNSSAFE)
# error "Cannot have both BSAFE and DNSSAFE defined"
#endif
#if defined(CYLINK) && defined(OPENSSL)
# error "Cannot have both CYLINK and OPENSSL defined"
#endif
/***
*** Types
***/
...
...
@@ -92,7 +88,6 @@ extern dst_func *dst_t_func[DST_MAX_ALGS];
void
dst_s_hmacmd5_init
(
void
);
void
dst_s_bsafe_init
(
void
);
void
dst_s_openssl_init
(
void
);
void
dst_s_cylink_init
(
void
);
/* support functions */
...
...
lib/dns/sec/dst/dst_parse.c
View file @
382442e2
...
...
@@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_parse.c,v 1.
1
1999/0
7/12 20:08:29
bwelling Exp $
* $Id: dst_parse.c,v 1.
2
1999/0
8/20 17:03:30
bwelling Exp $
*/
#include
<config.h>
...
...
@@ -189,7 +189,7 @@ dst_s_parse_private_key_file(const char *name, const int alg, const int id,
if
(
ret
<
0
)
return
(
DST_R_NAME_TOO_LONG
);
iret
=
isc_lex_create
(
mctx
,
256
,
&
lex
);
iret
=
isc_lex_create
(
mctx
,
1024
,
&
lex
);
if
(
iret
!=
ISC_R_SUCCESS
)
return
(
DST_R_NOMEMORY
);
...
...
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