<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/src/crypto-openssl.c
+++ b/src/crypto-openssl.c
@@ -20,6 +20,7 @@
 #include &lt;string.h&gt;
 #include &lt;errno.h&gt;
 #include &lt;openssl/pem.h&gt;
+#include &lt;openssl/rsa.h&gt;
 #include "config.h"
 #include "sysdep.h"
 #include "crypto.h"
@@ -35,10 +36,12 @@ crypto_ctx *crypto_ctx_new(crypto_error
 		return NULL;
 	}
 
+#if OPENSSL_VERSION_NUMBER &lt; 0x10100000L
 	OpenSSL_add_all_ciphers();
 	OpenSSL_add_all_digests();
 	OpenSSL_add_all_algorithms();
 	ERR_load_crypto_strings();
+#endif
 
 	memset(ctx, 0, sizeof(crypto_ctx));
 	ctx-&gt;stack = sk_X509_new_null();
</pre></body></html>