]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
lint clean for ECDSA.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 14 Feb 2011 11:50:24 +0000 (11:50 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 14 Feb 2011 11:50:24 +0000 (11:50 +0000)
Makefile.in
dnssec.c

index cf6d61fbba5c9796ecdbd2886bf6de9a916e96a3..4cd40d0245ef3d00b70a2c100be568d01cba4ae1 100644 (file)
@@ -56,7 +56,7 @@ LINT          = splint
 LINTFLAGS=+quiet -weak -warnposix -unrecog -Din_addr_t=uint32_t -Du_int=unsigned -Du_char=uint8_t -preproc -Drlimit=rlimit64 -D__gnuc_va_list=va_list
 #-Dglob64=glob -Dglobfree64=globfree
 # compat with openssl linux edition.
-LINTFLAGS+="-DBN_ULONG=unsigned long" -Dkrb5_int32=int "-Dkrb5_ui_4=unsigned int" -DPQ_64BIT=uint64_t -DRC4_INT=unsigned -fixedformalarray -D"ENGINE=unsigned" -D"RSA=unsigned" -D"DSA=unsigned" -D"EVP_PKEY=unsigned" -D"EVP_MD=unsigned" -D"SSL=unsigned" -D"SSL_CTX=unsigned" -D"X509=unsigned" -D"RC4_KEY=unsigned" -D"EVP_MD_CTX=unsigned"
+LINTFLAGS+="-DBN_ULONG=unsigned long" -Dkrb5_int32=int "-Dkrb5_ui_4=unsigned int" -DPQ_64BIT=uint64_t -DRC4_INT=unsigned -fixedformalarray -D"ENGINE=unsigned" -D"RSA=unsigned" -D"DSA=unsigned" -D"EVP_PKEY=unsigned" -D"EVP_MD=unsigned" -D"SSL=unsigned" -D"SSL_CTX=unsigned" -D"X509=unsigned" -D"RC4_KEY=unsigned" -D"EVP_MD_CTX=unsigned" -D"EC_KEY=unsigned" -D"EC_POINT=unsigned" -D"EC_GROUP=unsigned"
 # compat with NetBSD
 ifeq "$(shell uname)" "NetBSD"
 LINTFLAGS+="-D__RENAME(x)=" -D_NETINET_IN_H_
index 329e67116b364cb4959ad49bb97c79bf6d8da81f..f384ce05bc676d3877fd2fcd82370cf4e8d7156a 100644 (file)
--- a/dnssec.c
+++ b/dnssec.c
@@ -1665,6 +1665,7 @@ ldns_convert_dsa_rrsig_rdf2asn1(ldns_buffer *target_buffer,
 }
 
 #ifdef USE_ECDSA
+#ifndef S_SPLINT_S
 ldns_rdf *
 ldns_convert_ecdsa_rrsig_asn12rdf(const ldns_buffer *sig, const long sig_len)
 {
@@ -1724,5 +1725,6 @@ ldns_convert_ecdsa_rrsig_rdf2asn1(ldns_buffer *target_buffer,
        return ldns_buffer_status(target_buffer);
 }
 
+#endif /* S_SPLINT_S */
 #endif /* USE_ECDSA */
 #endif /* HAVE_SSL */