summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-server.c
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-27 12:47:27 +0000
committerGravatar m0gg2006-11-27 12:47:27 +0000
commit17d9b98c8525c74cd83a421f151062825fe66890 (patch)
tree615dc9207798af270a8a0d957e427cc59a29166c /nanohttp/nanohttp-server.c
parent504da9682a1e739b41cfdbb25721f518c83ebf83 (diff)
downloadcsoap-17d9b98c8525c74cd83a421f151062825fe66890.tar.gz
csoap-17d9b98c8525c74cd83a421f151062825fe66890.tar.bz2
Code cleanup
Diffstat (limited to 'nanohttp/nanohttp-server.c')
-rw-r--r--nanohttp/nanohttp-server.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c
index b0e650d..8c16e5f 100644
--- a/nanohttp/nanohttp-server.c
+++ b/nanohttp/nanohttp-server.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-server.c,v 1.69 2006/11/26 20:13:06 m0gg Exp $
+* $Id: nanohttp-server.c,v 1.70 2006/11/27 12:47:27 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -86,7 +86,14 @@
#include "nanohttp-response.h"
#include "nanohttp-server.h"
#include "nanohttp-base64.h"
+#ifdef HAVE_SSL
+#ifdef HAVE_OPENSSL_SSL_H
+#include <openssl/ssl.h>
+#endif
#include "nanohttp-ssl.h"
+#else
+static inline int hssl_enabled(void) { return 0; }
+#endif
#include "nanohttp-admin.h"
typedef struct _conndata