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.h | |
parent | 6ae7497ef5c5a6febd845b57c6030eddd95c4ca8 (diff) | |
download | csoap-73327fb2d2a2da4b25e91e34ca121cac6b03fe42.tar.gz csoap-73327fb2d2a2da4b25e91e34ca121cac6b03fe42.tar.bz2 |
added #ifdef HAVE_SSL check
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index f6f9219..c783812 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -22,13 +22,16 @@ * Descrip: Common ssl routines */ +/* Do enter only if --with-ssl was specified by the configure script */ +#ifdef HAVE_SSL + #ifdef TRU64 #include <arpa/inet.h> typedef unsigned int uint32_t; #endif -#ifndef __COMMON_H__ -#define __COMMON_H__ +#ifndef __NANOHTTP_SSL_H_ +#define __NANOHTTP_SSL_H_ #include <openssl/ssl.h> @@ -95,3 +98,6 @@ SSL* init_ssl(SSL_CTX* ctx, int sock, int type); void ssl_cleanup(); #endif + +#endif /* HAVE_SSL */ + |