Fix warnings.

This commit is contained in:
Dr. Stephen Henson 2006-02-15 14:45:31 +00:00
parent 7ac7a4bc37
commit e7a8b47f1a
3 changed files with 3 additions and 1 deletions

View file

@ -4,3 +4,4 @@ opensslconf.h
Makefile.save
*.flc
semantic.cache
x86cpuid-elf.s

View 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)
{

View 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: