summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-02-18 22:43:50 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-02-18 22:43:50 +0900
commit395212f47f5ce74edb7ca9b31df72b201423b3f3 (patch)
tree45ccdc007918cf246386820cf8a7a5496b5a1782 /src/SocketCore.h
parent7230fbd2f780023b269fc940a286cd064fbe98b2 (diff)
Replaced HAVE_LIBSSL with HAVE_OPENSSL
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h
index bbf01ea7..2df3efe6 100644
--- a/src/SocketCore.h
+++ b/src/SocketCore.h
@@ -44,11 +44,11 @@
#include "a2netcompat.h"
-#ifdef HAVE_LIBSSL
+#ifdef HAVE_OPENSSL
// for SSL
# include <openssl/ssl.h>
# include <openssl/err.h>
-#endif // HAVE_LIBSSL
+#endif // HAVE_OPENSSL
#ifdef HAVE_LIBGNUTLS
# include <gnutls/gnutls.h>
#endif // HAVE_LIBGNUTLS
@@ -88,12 +88,12 @@ private:
static SharedHandle<TLSContext> tlsContext_;
#endif // ENABLE_SSL
-#ifdef HAVE_LIBSSL
+#ifdef HAVE_OPENSSL
// for SSL
SSL* ssl;
int sslHandleEAGAIN(int ret);
-#endif // HAVE_LIBSSL
+#endif // HAVE_OPENSSL
#ifdef HAVE_LIBGNUTLS
gnutls_session_t sslSession_;