more warning fixes
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: bsafe_link.c,v 1.6 1999/09/27 16:55:44 bwelling Exp $
|
||||
* $Id: bsafe_link.c,v 1.7 1999/10/08 13:08:56 bwelling Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -107,7 +107,8 @@ static dst_result_t dst_bsafe_to_dns(const dst_key_t *in_key,
|
||||
static dst_result_t dst_bsafe_from_dns(dst_key_t *key, isc_buffer_t *data,
|
||||
isc_mem_t *mctx);
|
||||
static dst_result_t dst_bsafe_to_file(const dst_key_t *key);
|
||||
static dst_result_t dst_bsafe_from_file(dst_key_t *key, const int id,
|
||||
static dst_result_t dst_bsafe_from_file(dst_key_t *key,
|
||||
const isc_uint16_t id,
|
||||
isc_mem_t *mctx);
|
||||
|
||||
/*
|
||||
@@ -623,7 +624,7 @@ dst_bsafe_to_file(const dst_key_t *key) {
|
||||
*/
|
||||
|
||||
static dst_result_t
|
||||
dst_bsafe_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
|
||||
dst_bsafe_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
|
||||
dst_private_t priv;
|
||||
dst_result_t ret;
|
||||
isc_buffer_t b;
|
||||
|
||||
@@ -77,7 +77,7 @@ struct dst_func {
|
||||
dst_result_t (*from_dns)(dst_key_t *key, isc_buffer_t *data,
|
||||
isc_mem_t *mctx);
|
||||
dst_result_t (*to_file)(const dst_key_t *key);
|
||||
dst_result_t (*from_file)(dst_key_t *key, const int id,
|
||||
dst_result_t (*from_file)(dst_key_t *key, const isc_uint16_t id,
|
||||
isc_mem_t *mctx);
|
||||
};
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: hmac_link.c,v 1.8 1999/09/27 16:55:44 bwelling Exp $
|
||||
* $Id: hmac_link.c,v 1.9 1999/10/08 13:08:56 bwelling Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -72,7 +72,8 @@ static dst_result_t dst_hmacmd5_to_dns(const dst_key_t *in_key,
|
||||
static dst_result_t dst_hmacmd5_from_dns(dst_key_t *key, isc_buffer_t *data,
|
||||
isc_mem_t *mctx);
|
||||
static dst_result_t dst_hmacmd5_to_file(const dst_key_t *key);
|
||||
static dst_result_t dst_hmacmd5_from_file(dst_key_t *key, const int id,
|
||||
static dst_result_t dst_hmacmd5_from_file(dst_key_t *key,
|
||||
const isc_uint16_t id,
|
||||
isc_mem_t *mctx);
|
||||
|
||||
/*
|
||||
@@ -389,7 +390,7 @@ dst_hmacmd5_to_file(const dst_key_t *key) {
|
||||
*/
|
||||
|
||||
static dst_result_t
|
||||
dst_hmacmd5_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
|
||||
dst_hmacmd5_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
|
||||
dst_private_t priv;
|
||||
dst_result_t ret;
|
||||
isc_buffer_t b;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: openssl_link.c,v 1.8 1999/09/27 16:55:44 bwelling Exp $
|
||||
* $Id: openssl_link.c,v 1.9 1999/10/08 13:08:56 bwelling Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -64,7 +64,8 @@ static dst_result_t dst_openssl_to_dns(const dst_key_t *in_key,
|
||||
static dst_result_t dst_openssl_from_dns(dst_key_t *key, isc_buffer_t *data,
|
||||
isc_mem_t *mctx);
|
||||
static dst_result_t dst_openssl_to_file(const dst_key_t *key);
|
||||
static dst_result_t dst_openssl_from_file(dst_key_t *key, const int id,
|
||||
static dst_result_t dst_openssl_from_file(dst_key_t *key,
|
||||
const isc_uint16_t id,
|
||||
isc_mem_t *mctx);
|
||||
|
||||
static int BN_bn2bin_fixed(BIGNUM *bn, unsigned char *buf,
|
||||
@@ -439,7 +440,7 @@ dst_openssl_to_file(const dst_key_t *key) {
|
||||
*/
|
||||
|
||||
static dst_result_t
|
||||
dst_openssl_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
|
||||
dst_openssl_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
|
||||
dst_private_t priv;
|
||||
dst_result_t ret;
|
||||
isc_buffer_t dns;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: openssldh_link.c,v 1.2 1999/10/05 15:06:37 bwelling Exp $
|
||||
* $Id: openssldh_link.c,v 1.3 1999/10/08 13:08:57 bwelling Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -65,7 +65,8 @@ static dst_result_t dst_openssldh_from_dns(dst_key_t *key,
|
||||
isc_buffer_t *data,
|
||||
isc_mem_t *mctx);
|
||||
static dst_result_t dst_openssldh_to_file(const dst_key_t *key);
|
||||
static dst_result_t dst_openssldh_from_file(dst_key_t *key, const int id,
|
||||
static dst_result_t dst_openssldh_from_file(dst_key_t *key,
|
||||
const isc_uint16_t id,
|
||||
isc_mem_t *mctx);
|
||||
|
||||
static void uint16_toregion(isc_uint16_t val, isc_region_t *region);
|
||||
@@ -415,7 +416,7 @@ dst_openssldh_to_file(const dst_key_t *key) {
|
||||
*/
|
||||
|
||||
static dst_result_t
|
||||
dst_openssldh_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
|
||||
dst_openssldh_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
|
||||
dst_private_t priv;
|
||||
dst_result_t ret;
|
||||
isc_buffer_t dns;
|
||||
|
||||
Reference in New Issue
Block a user