From bd83dd5ffb2e3d5e4a7069fd6f0e79b88be0d062 Mon Sep 17 00:00:00 2001 From: Levi Rak Date: Mon, 5 Jun 2017 16:33:48 -0600 Subject: [PATCH] re-added compile time error for not having --enable-writedup --- tls/client-tls-writedup.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tls/client-tls-writedup.c b/tls/client-tls-writedup.c index a6a39b10..9e40bc9b 100644 --- a/tls/client-tls-writedup.c +++ b/tls/client-tls-writedup.c @@ -36,6 +36,12 @@ /* wolfSSL */ #include +#include + +/* check for writedup */ +#ifndef HAVE_WRITE_DUP + #error "wolfSSL must be configured and installed with --enable-writedup" +#endif /* threads */ #include