Fix warnings.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2006 14:45:31 +0000 (14:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2006 14:45:31 +0000 (14:45 +0000)
crypto/.cvsignore
crypto/asn1/a_type.c
crypto/ts/ts_rsp_sign.c

index 1cf6edd3bcbcbe93e837ed6c106efde4b6e0800f..27b00b29d1c3afc34a4545380f2ead4a035d8b6e 100644 (file)
@@ -4,3 +4,4 @@ opensslconf.h
 Makefile.save
 *.flc
 semantic.cache
+x86cpuid-elf.s
index c603741f39e6149836c53bd95bd2f53619e6b28a..6a1e5a7a5ac54b5dc812e4e093d951a96d24f6d0 100644 (file)
@@ -59,6 +59,7 @@
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/asn1t.h>
+#include <openssl/objects.h>
 
 int ASN1_TYPE_get(ASN1_TYPE *a)
        {
index aa81f74558fff5b9acf66035824571bc1d4368e5..ea4506a9ee8f62f3eb0bb34e32349e8bcf975a81 100644 (file)
@@ -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: