From 2bdcffa0a500ba15e68a49f99882827c3b110146 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 14 Feb 2011 11:50:24 +0000 Subject: [PATCH] lint clean for ECDSA. --- Makefile.in | 2 +- dnssec.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index cf6d61fb..4cd40d02 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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_ diff --git a/dnssec.c b/dnssec.c index 329e6711..f384ce05 100644 --- 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 */ -- 2.47.3