From f966dad30673d44658aaa9f34e820fe3231b2166 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 13 Dec 2004 08:34:46 +0000 Subject: [PATCH] Dan Fandrich did minor corrections to his SSL cleanup patch --- configure.ac | 5 +++-- packages/vms/config-vms.h_with_ssl | 2 +- packages/vms/config-vms.h_without_ssl | 2 +- 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 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 header file. */