/*
* Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.67.2.4 2001/06/11 16:58:39 gson Exp $
+ * $Id: dst_api.c,v 1.67.2.5 2001/12/19 01:11:11 marka Exp $
*/
#include <config.h>
isc_region_t r;
char filename[ISC_DIR_NAMEMAX];
unsigned char key_array[DST_KEY_MAXSIZE];
- char text_array[DST_KEY_MAXSIZE];
+ char text_array[DST_KEY_MAXTEXTSIZE];
char class_array[10];
isc_result_t ret;
dns_rdata_t rdata = DNS_RDATA_INIT;
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dst.h,v 1.38.4.1 2001/01/09 22:48:34 bwelling Exp $ */
+/* $Id: dst.h,v 1.38.4.2 2001/12/19 01:11:13 marka Exp $ */
#ifndef DST_DST_H
#define DST_DST_H 1
#define DST_MAX_ALGS 255
/* A buffer of this size is large enough to hold any key */
-#define DST_KEY_MAXSIZE 1024
+#define DST_KEY_MAXSIZE 1280
+
+/*
+ * A buffer of this size is large enough to hold the textual representation
+ * of any key
+ */
+#define DST_KEY_MAXTEXTSIZE 2048
/* 'Type' for dst_read_key() */
#define DST_TYPE_PRIVATE 0x2000000