summaryrefslogtreecommitdiff
path: root/vchat-tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-tls.c')
-rwxr-xr-xvchat-tls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vchat-tls.c b/vchat-tls.c
index d4ab554..21a694f 100755
--- a/vchat-tls.c
+++ b/vchat-tls.c
@@ -116,6 +116,13 @@ cleanup_happy:
116 return 0; 116 return 0;
117} 117}
118 118
119#if defined(TLS_LIB_OPENSSL) && defined(TLS_LIB_MBEDTLS)
120#error "Both TLS_LIB_OPENSSL and TLS_LIB_MBEDTLS are defined. Please select only one."
121#endif
122#if !defined(TLS_LIB_OPENSSL) && !defined(TLS_LIB_MBEDTLS)
123#error "Neither TLS_LIB_OPENSSL nor TLS_LIB_MBEDTLS are defined. Please select exactly one."
124#endif
125
119#ifdef TLS_LIB_OPENSSL 126#ifdef TLS_LIB_OPENSSL
120 127
121#include <openssl/err.h> 128#include <openssl/err.h>