Commit 382442e2 authored by Brian Wellington's avatar Brian Wellington
Browse files

Increased size of a few buffers, removed references to cylink toolkit.

parent 04b8111f
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
/* /*
* Principal Author: Brian Wellington * Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.3 1999/08/03 19:48:10 bwelling Exp $ * $Id: dst_api.c,v 1.4 1999/08/20 17:03:30 bwelling Exp $
*/ */
#include <config.h> #include <config.h>
...@@ -667,9 +667,6 @@ initialize() { ...@@ -667,9 +667,6 @@ initialize() {
#ifdef OPENSSL #ifdef OPENSSL
dst_s_openssl_init(); dst_s_openssl_init();
#endif #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, ...@@ -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> * domain.name [ttl] [IN] KEY <flags> <protocol> <algorithm> <key>
*/ */
/* 540 should be large enough for a 1024 bit DSA key */ /* 1500 should be large enough for any key */
iret = isc_lex_create(mctx, 550, &lex); iret = isc_lex_create(mctx, 1500, &lex);
if (iret != ISC_R_SUCCESS) if (iret != ISC_R_SUCCESS)
return (DST_R_NOMEMORY); return (DST_R_NOMEMORY);
......
...@@ -30,17 +30,13 @@ ISC_LANG_BEGINDECLS ...@@ -30,17 +30,13 @@ ISC_LANG_BEGINDECLS
/* /*
* define what crypto systems are supported. * define what crypto systems are supported.
* BSAFE, DNSSAFE for RSA * BSAFE, DNSSAFE for RSA
* OPENSSL, CYLINK for DSA * OPENSSL for DSA
* Only one package per algorithm can be defined. * Only one package per algorithm can be defined.
*/ */
#if defined(BSAFE) && defined(DNSSAFE) #if defined(BSAFE) && defined(DNSSAFE)
# error "Cannot have both BSAFE and DNSSAFE defined" # error "Cannot have both BSAFE and DNSSAFE defined"
#endif #endif
#if defined(CYLINK) && defined(OPENSSL)
# error "Cannot have both CYLINK and OPENSSL defined"
#endif
/*** /***
*** Types *** Types
***/ ***/
...@@ -92,7 +88,6 @@ extern dst_func *dst_t_func[DST_MAX_ALGS]; ...@@ -92,7 +88,6 @@ extern dst_func *dst_t_func[DST_MAX_ALGS];
void dst_s_hmacmd5_init(void); void dst_s_hmacmd5_init(void);
void dst_s_bsafe_init(void); void dst_s_bsafe_init(void);
void dst_s_openssl_init(void); void dst_s_openssl_init(void);
void dst_s_cylink_init(void);
/* support functions */ /* support functions */
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
/* /*
* Principal Author: Brian Wellington * Principal Author: Brian Wellington
* $Id: dst_parse.c,v 1.1 1999/07/12 20:08:29 bwelling Exp $ * $Id: dst_parse.c,v 1.2 1999/08/20 17:03:30 bwelling Exp $
*/ */
#include <config.h> #include <config.h>
...@@ -189,7 +189,7 @@ dst_s_parse_private_key_file(const char *name, const int alg, const int id, ...@@ -189,7 +189,7 @@ dst_s_parse_private_key_file(const char *name, const int alg, const int id,
if (ret < 0) if (ret < 0)
return (DST_R_NAME_TOO_LONG); 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) if (iret != ISC_R_SUCCESS)
return (DST_R_NOMEMORY); return (DST_R_NOMEMORY);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment