PROV: Avoid NULL dereference in SHA3 dup call.
@@ -241,6 +241,7 @@ static void *keccak_dupctx(void *ctx)
KECCAK1600_CTX *in = (KECCAK1600_CTX *)ctx;
KECCAK1600_CTX *ret = OPENSSL_malloc(sizeof(*ret));
+ if (ret != NULL)
*ret = *in;
return ret;
}
