aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-13 08:34:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-13 08:34:46 +0000
commitf966dad30673d44658aaa9f34e820fe3231b2166 (patch)
tree748945c24826d6d97ca166f7aac08acb3c6c40af
parent887f41c0629d5c156e49af56d8aeb1f1dc23ff63 (diff)
Dan Fandrich did minor corrections to his SSL cleanup patch
-rw-r--r--configure.ac5
-rwxr-xr-xpackages/vms/config-vms.h_with_ssl2
-rwxr-xr-xpackages/vms/config-vms.h_without_ssl2
3 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d7f4c1f45..3cff1e1da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -806,10 +806,11 @@ else
fi
fi
+ if test X"$OPENSSL_ENABLED" = X"1"; then
+ AC_DEFINE(USE_SSLEAY, 1, [if SSL is enabled])
+ fi
USE_SSLEAY="$OPENSSL_ENABLED"
- AC_DEFINE_UNQUOTED(USE_SSLEAY, $USE_SSLEAY, [if SSL is enabled])
AC_SUBST(USE_SSLEAY)
- AC_SUBST(USE_OPENSSL)
if test X"$OPT_SSL" != Xoff &&
test "$OPENSSL_ENABLED" != "1"; then
diff --git a/packages/vms/config-vms.h_with_ssl b/packages/vms/config-vms.h_with_ssl
index e3bc60dac..0d737ec3f 100755
--- a/packages/vms/config-vms.h_with_ssl
+++ b/packages/vms/config-vms.h_with_ssl
@@ -160,7 +160,7 @@
*/
#define HAVE_OPENSSL_ENGINE_H 1
-#endif /* OPENSSL_ENABLED */
+#endif /* USE_SSLEAY */
/* OpenSSL section ends here */
/* Define if you have the <pwd.h> header file. */
diff --git a/packages/vms/config-vms.h_without_ssl b/packages/vms/config-vms.h_without_ssl
index d7649bb83..00dc673df 100755
--- a/packages/vms/config-vms.h_without_ssl
+++ b/packages/vms/config-vms.h_without_ssl
@@ -160,7 +160,7 @@
*/
#define HAVE_OPENSSL_ENGINE_H 1
-#endif /* OPENSSL_ENABLED */
+#endif /* USE_SSLEAY */
/* OpenSSL section ends here */
/* Define if you have the <pwd.h> header file. */