Wrap ssl_verify.h in "#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL)" to
make it empty for --disable-ssl builds.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1401737019-15702-1-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8763
Signed-off-by: Gert Doering <gert@greenie.muc.de>
... | ... |
@@ -30,6 +30,8 @@ |
30 | 30 |
#ifndef SSL_VERIFY_H_ |
31 | 31 |
#define SSL_VERIFY_H_ |
32 | 32 |
|
33 |
+#if defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) |
|
34 |
+ |
|
33 | 35 |
#include "syshead.h" |
34 | 36 |
#include "misc.h" |
35 | 37 |
#include "ssl_common.h" |
... | ... |
@@ -234,5 +236,6 @@ tls_client_reason (struct tls_multi *multi) |
234 | 234 |
#endif |
235 | 235 |
} |
236 | 236 |
|
237 |
-#endif /* SSL_VERIFY_H_ */ |
|
237 |
+#endif /* defined(ENABLE_CRYPTO) && defined(ENABLE_SSL) */ |
|
238 | 238 |
|
239 |
+#endif /* SSL_VERIFY_H_ */ |