we only use 32 octets

This commit is contained in:
Mark Andrews
2014-02-26 15:54:23 +11:00
parent f6f8819806
commit 79bd3cf027
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ struct ns_server {
unsigned int session_keyalg;
isc_uint16_t session_keybits;
isc_boolean_t interface_auto;
unsigned char secret[33]; /*%< Source Identity Token */
unsigned char secret[32]; /*%< Source Identity Token */
};
#define NS_SERVER_MAGIC ISC_MAGIC('S','V','E','R')
+1 -1
View File
@@ -207,7 +207,7 @@ struct dns_view {
void * new_zone_config;
void (*cfg_destroy)(void **);
unsigned char secret[33]; /* Client secret */
unsigned char secret[32]; /* Client secret */
};
#define DNS_VIEW_MAGIC ISC_MAGIC('V','i','e','w')