summaryrefslogtreecommitdiff
path: root/src/Platform.cc
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/Platform.cc
parent7230fbd2f780023b269fc940a286cd064fbe98b2 (diff)
Replaced HAVE_LIBSSL with HAVE_OPENSSL
Diffstat (limited to 'src/Platform.cc')
-rw-r--r--src/Platform.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Platform.cc b/src/Platform.cc
index 57638f92..151b40ef 100644
--- a/src/Platform.cc
+++ b/src/Platform.cc
@@ -54,10 +54,10 @@
#endif // HAVE_WINSOCK2_H
-#ifdef HAVE_LIBSSL
+#ifdef HAVE_OPENSSL
# include <openssl/err.h>
# include <openssl/ssl.h>
-#endif // HAVE_LIBSSL
+#endif // HAVE_OPENSSL
#ifdef HAVE_LIBGNUTLS
# include <gnutls/gnutls.h>
#endif // HAVE_LIBGNUTLS
@@ -97,11 +97,11 @@ bool Platform::setUp()
textdomain (PACKAGE);
#endif // ENABLE_NLS
-#ifdef HAVE_LIBSSL
+#ifdef HAVE_OPENSSL
// for SSL initialization
SSL_load_error_strings();
SSL_library_init();
-#endif // HAVE_LIBSSL
+#endif // HAVE_OPENSSL
#ifdef HAVE_LIBGNUTLS
gnutls_global_init();
#endif // HAVE_LIBGNUTLS