From 31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35 Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Mon, 24 Oct 2011 10:46:01 +0200 Subject: Fixed disabling crypto and SSL Signed-off-by: Adriaan de Jong Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- ssl_polarssl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ssl_polarssl.c') 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) */ -- cgit