wolfSSL: Make it more obvious that Subject Alternative Name support is mandatory
[privoxy.git] / wolfssl.c
index 04108e8..08f3d71 100644 (file)
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -37,6 +37,7 @@
 
 #include <wolfssl/options.h>
 #include <wolfssl/openssl/x509v3.h>
+#include <wolfssl/openssl/pem.h>
 #include <wolfssl/ssl.h>
 #include <wolfssl/wolfcrypt/coding.h>
 #include <wolfssl/wolfcrypt/rsa.h>
@@ -1735,7 +1736,7 @@ static int load_rsa_key(const char *rsa_key_path, const char *password, RsaKey *
 }
 
 #ifndef WOLFSSL_ALT_NAMES
-#error wolfSSL lacks Subject Alternative Name support
+#error wolfSSL lacks Subject Alternative Name support (WOLFSSL_ALT_NAMES) which is mandatory
 #endif
 /*********************************************************************
  *