* lib/sha3.c (sha3_##SIZE##_init_ctx): Avoid deprecated macro name.
2026-02-22 Paul Eggert <eggert@cs.ucla.edu>
+ crypto/sha3: EVP_MD_CTX_create → EVP_MD_CTX_new
+ * lib/sha3.c (sha3_##SIZE##_init_ctx): Avoid deprecated macro name.
+
crypto/sha3: fix errno when freeing
* lib/sha3.c (sha3_free_ctx): Preserve errno.
* modules/crypto/sha3 (Depends-on):
sha3_##SIZE##_init_ctx (struct sha3_ctx *ctx) \
{ \
int result; \
- ctx->evp_ctx = EVP_MD_CTX_create (); \
+ ctx->evp_ctx = EVP_MD_CTX_new (); \
if (ctx->evp_ctx == NULL) \
{ \
errno = ENOMEM; \