summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-ssl.c
diff options
context:
space:
mode:
authorGravatar snowdrop2006-01-06 14:09:27 +0000
committerGravatar snowdrop2006-01-06 14:09:27 +0000
commit73327fb2d2a2da4b25e91e34ca121cac6b03fe42 (patch)
treeb678707c5492c733300d203a33941dd21440b58b /nanohttp/nanohttp-ssl.c
parent6ae7497ef5c5a6febd845b57c6030eddd95c4ca8 (diff)
downloadcsoap-73327fb2d2a2da4b25e91e34ca121cac6b03fe42.tar.gz
csoap-73327fb2d2a2da4b25e91e34ca121cac6b03fe42.tar.bz2
added #ifdef HAVE_SSL check
Diffstat (limited to 'nanohttp/nanohttp-ssl.c')
-rw-r--r--nanohttp/nanohttp-ssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index c2f578b..93dcb6a 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -21,6 +21,9 @@
* Descrip: SSL connection routines
*/
+/* Enter only if --with-ssl was specified to the configure script */
+#ifdef HAVE_SSL
+
#include <sys/types.h>
#ifndef WIN32
#include <netinet/in.h>
@@ -360,3 +363,5 @@ void ssl_cleanup(SSL* ssl)
}
}
+#endif /* end of ifdef HAVE_SSL */
+