瀏覽代碼

Enable compat layer with HAVE_WEBSERVER (--enable-webserver).

David Garske 1 天之前
父節點
當前提交
96a0619d70
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      wolfssl/wolfcrypt/settings.h

+ 5 - 0
wolfssl/wolfcrypt/settings.h

@@ -3733,6 +3733,11 @@ extern void uITRON4_free(void *p) ;
     #define OPENSSL_EXTRA_X509_SMALL
 #endif
 
+/* Web Server needs to enable OPENSSL_EXTRA_X509_SMALL */
+#if defined(HAVE_WEBSERVER) && !defined(OPENSSL_EXTRA_X509_SMALL)
+    #define OPENSSL_EXTRA_X509_SMALL
+#endif
+
 /* The EX data CRYPTO API's used with compatibility */
 #if !defined(HAVE_EX_DATA_CRYPTO) && \
     (defined(OPENSSL_ALL) || defined(WOLFSSL_WPAS_SMALL) || \