提交 e7a8b47f 编写于 作者: D Dr. Stephen Henson

Fix warnings.

上级 7ac7a4bc
......@@ -4,3 +4,4 @@ opensslconf.h
Makefile.save
*.flc
semantic.cache
x86cpuid-elf.s
......@@ -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)
{
......
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册