--- examples/nettle-openssl.c.orig	2021-08-11 10:48:30 +0000
+++ examples/nettle-openssl.c	2021-08-11 10:49:46 +0000
@@ -379,7 +379,7 @@
 openssl_##name##_init(void *p)						\
 {									\
   struct openssl_hash_ctx *ctx = p;					\
-  if ((ctx->evp = EVP_MD_CTX_new()) == NULL)			\
+  if ((ctx->evp = EVP_MD_CTX_create()) == NULL)			\
     return;								\
 									\
   EVP_DigestInit(ctx->evp, EVP_##name());				\
