From: Wouter Wijngaards Date: Tue, 17 Nov 2015 11:32:04 +0000 (+0000) Subject: please lint. X-Git-Tag: release-1.5.7rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3433a30878ec0e78828fae2bf038c88cb9565d85;p=thirdparty%2Funbound.git please lint. git-svn-id: file:///svn/unbound/trunk@3536 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/validator/val_secalgo.c b/validator/val_secalgo.c index 763ef2cac..434b6870f 100644 --- a/validator/val_secalgo.c +++ b/validator/val_secalgo.c @@ -73,7 +73,7 @@ #endif /* return size of digest if supported, or 0 otherwise */ -int +size_t nsec3_hash_algo_size_supported(int id) { switch(id) { @@ -593,7 +593,7 @@ verify_canonrrset(sldns_buffer* buf, int algo, unsigned char* sigblock, #include "prerror.h" /* return size of digest if supported, or 0 otherwise */ -int +size_t nsec3_hash_algo_size_supported(int id) { switch(id) { @@ -1135,7 +1135,7 @@ verify_canonrrset(sldns_buffer* buf, int algo, unsigned char* sigblock, #endif /* return size of digest if supported, or 0 otherwise */ -int +size_t nsec3_hash_algo_size_supported(int id) { switch(id) { diff --git a/validator/val_secalgo.h b/validator/val_secalgo.h index cba1cb4f6..589f1f11d 100644 --- a/validator/val_secalgo.h +++ b/validator/val_secalgo.h @@ -45,7 +45,7 @@ struct sldns_buffer; /** Return size of nsec3 hash algorithm, 0 if not supported */ -int nsec3_hash_algo_size_supported(int id); +size_t nsec3_hash_algo_size_supported(int id); /** * Hash a single hash call of an NSEC3 hash algorithm.