From: Daniel Stenberg Date: Mon, 13 Dec 2004 08:34:46 +0000 (+0000) Subject: Dan Fandrich did minor corrections to his SSL cleanup patch X-Git-Tag: curl-7_12_3~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f966dad30673d44658aaa9f34e820fe3231b2166;p=thirdparty%2Fcurl.git Dan Fandrich did minor corrections to his SSL cleanup patch --- diff --git a/configure.ac b/configure.ac index d7f4c1f45c..3cff1e1dae 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 e3bc60dac2..0d737ec3f6 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 d7649bb835..00dc673df6 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. */