Fix warnings.
This commit is contained in:
parent
7ac7a4bc37
commit
e7a8b47f1a
@ -4,3 +4,4 @@ opensslconf.h
|
|||||||
Makefile.save
|
Makefile.save
|
||||||
*.flc
|
*.flc
|
||||||
semantic.cache
|
semantic.cache
|
||||||
|
x86cpuid-elf.s
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "cryptlib.h"
|
#include "cryptlib.h"
|
||||||
#include <openssl/asn1t.h>
|
#include <openssl/asn1t.h>
|
||||||
|
#include <openssl/objects.h>
|
||||||
|
|
||||||
int ASN1_TYPE_get(ASN1_TYPE *a)
|
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()))
|
if (!ctx->mds && !(ctx->mds = sk_EVP_MD_new_null()))
|
||||||
goto err;
|
goto err;
|
||||||
/* Add the shared md, no copy needed. */
|
/* 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;
|
return 1;
|
||||||
err:
|
err:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user