<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/lib/openssl/compat.h
+++ b/lib/openssl/compat.h
@@ -17,6 +17,7 @@
 
 #pragma once
 
+#include &lt;openssl/bn.h&gt;
 #include &lt;openssl/hmac.h&gt;
 #include &lt;openssl/ec.h&gt;
 #include &lt;openssl/ecdsa.h&gt;
--- a/lib/openssl/misc.c
+++ b/lib/openssl/misc.c
@@ -185,6 +185,8 @@ add_entity(json_t *root, json_t *obj, co
 static void __attribute__((constructor))
 constructor(void)
 {
+#if OPENSSL_VERSION_NUMBER &lt; 0x10100000L
     OpenSSL_add_all_algorithms();
+#endif
     RAND_poll();
 }
</pre></body></html>