]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Nov 2015 11:32:04 +0000 (11:32 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Nov 2015 11:32:04 +0000 (11:32 +0000)
git-svn-id: file:///svn/unbound/trunk@3536 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_secalgo.c
validator/val_secalgo.h

index 763ef2cacee95b99b43fb25152fc341ee995d9da..434b6870f4663a58df3db176eb8aa6e38bc4bbe2 100644 (file)
@@ -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) {
index cba1cb4f6d0f09862b0d5e907bdec8010a69316c..589f1f11db6357f491041775864bf6d6f2330361 100644 (file)
@@ -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.