diff options
author | Patrick Steuer <patrick.steuer@de.ibm.com> | 2019-06-25 00:10:20 +0200 |
---|---|---|
committer | Patrick Steuer <patrick.steuer@de.ibm.com> | 2019-06-25 00:10:20 +0200 |
commit | be1dc984e1a5938170188cbdb6e536f1e7ac1656 (patch) | |
tree | eedf15b62fcedacc52963a2d8bf1c2eb984b0a41 /providers/common | |
parent | OSSL_TRACE: enhance documentation and fix doc-nit errors (diff) | |
download | openssl-be1dc984e1a5938170188cbdb6e536f1e7ac1656.tar.xz openssl-be1dc984e1a5938170188cbdb6e536f1e7ac1656.zip |
Fix s390x build errors and warnings
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9236)
Diffstat (limited to '')
-rw-r--r-- | providers/common/digests/sha3_prov.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/providers/common/digests/sha3_prov.c b/providers/common/digests/sha3_prov.c index 278ddfb855..15cd670a0e 100644 --- a/providers/common/digests/sha3_prov.c +++ b/providers/common/digests/sha3_prov.c @@ -142,6 +142,7 @@ static int s390x_sha3_final(unsigned char *md, void *vctx) s390x_klmd(ctx->buf, ctx->bufsz, NULL, 0, ctx->pad, ctx->A); memcpy(md, ctx->A, ctx->md_size); + return 1; } static int s390x_shake_final(unsigned char *md, void *vctx) @@ -184,7 +185,7 @@ static void *name##_newctx(void *provctx) \ if (ctx == NULL) \ return NULL; \ sha3_init(ctx, pad, bitlen); \ - SHA3_SET_MD(name, typ) \ + SHA3_SET_MD(uname, typ) \ return ctx; \ } |