Dan Fandrich did minor corrections to his SSL cleanup patch
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Dec 2004 08:34:46 +0000 (08:34 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Dec 2004 08:34:46 +0000 (08:34 +0000)
configure.ac
packages/vms/config-vms.h_with_ssl
packages/vms/config-vms.h_without_ssl

index d7f4c1f..3cff1e1 100644 (file)
@@ -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
index e3bc60d..0d737ec 100755 (executable)
 */
 #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.  */
index d7649bb..00dc673 100755 (executable)
 */
 #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.  */