From: Dr. Stephen Henson Date: Wed, 15 Feb 2006 14:45:31 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: OpenSSL_0_9_8k^2~1552 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=e7a8b47f1ad16d47d20aef886ddfa18c1c62385a Fix warnings. --- diff --git a/crypto/.cvsignore b/crypto/.cvsignore index 1cf6edd3bc..27b00b29d1 100644 --- a/crypto/.cvsignore +++ b/crypto/.cvsignore @@ -4,3 +4,4 @@ opensslconf.h Makefile.save *.flc semantic.cache +x86cpuid-elf.s diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index c603741f39..6a1e5a7a5a 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -59,6 +59,7 @@ #include #include "cryptlib.h" #include +#include int ASN1_TYPE_get(ASN1_TYPE *a) { diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c index aa81f74558..ea4506a9ee 100644 --- a/crypto/ts/ts_rsp_sign.c +++ b/crypto/ts/ts_rsp_sign.c @@ -278,7 +278,7 @@ int TS_RESP_CTX_add_md(TS_RESP_CTX *ctx, const EVP_MD *md) if (!ctx->mds && !(ctx->mds = sk_EVP_MD_new_null())) goto err; /* Add the shared md, no copy needed. */ - if (!sk_EVP_MD_push(ctx->mds, md)) goto err; + if (!sk_EVP_MD_push(ctx->mds, (EVP_MD *)md)) goto err; return 1; err: