diff options
author | snowdrop | 2006-01-06 14:09:27 +0000 |
---|---|---|
committer | snowdrop | 2006-01-06 14:09:27 +0000 |
commit | 73327fb2d2a2da4b25e91e34ca121cac6b03fe42 (patch) | |
tree | b678707c5492c733300d203a33941dd21440b58b /nanohttp/nanohttp-ssl.c | |
parent | 6ae7497ef5c5a6febd845b57c6030eddd95c4ca8 (diff) | |
download | csoap-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.c | 5 |
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 */ + |