summaryrefslogtreecommitdiffstats
path: root/ssl_polarssl.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-10-24 10:46:01 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-24 12:35:51 +0200
commit31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35 (patch)
tree0998f1d80063a45ceedc7d1587251ca6ea28bd45 /ssl_polarssl.c
parent7c785a27bfe5267ee4aac12fe6d0a24c42e388d6 (diff)
downloadopenvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.tar.gz
openvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.tar.xz
openvpn-31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35.zip
Fixed disabling crypto and SSL
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_polarssl.c')
-rw-r--r--ssl_polarssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl_polarssl.c b/ssl_polarssl.c
index c95c0c0..9a8c49c 100644
--- a/ssl_polarssl.c
+++ b/ssl_polarssl.c
@@ -28,6 +28,9 @@
*/
#include "syshead.h"
+
+#if defined(USE_SSL) && defined(USE_POLARSSL)
+
#include "errlevel.h"
#include "ssl_backend.h"
#include "buffer.h"
@@ -857,3 +860,5 @@ get_highest_preference_tls_cipher (char *buf, int size)
cipher_name = ssl_get_ciphersuite_name(*ciphers);
strncpynt (buf, cipher_name, size);
}
+
+#endif /* defined(USE_SSL) && defined(USE_POLARSSL) */