Clean compile and run without OpenSSL on Windows

git-svn-id: https://svn.apache.org/repos/asf/santuario/xml-security-cpp/trunk@1739392 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/xsec/framework/XSECW32Config.hpp b/xsec/framework/XSECW32Config.hpp
index ef3b2a0..dd6857c 100644
--- a/xsec/framework/XSECW32Config.hpp
+++ b/xsec/framework/XSECW32Config.hpp
@@ -164,7 +164,7 @@
  * Define presence of cryptographic providers
  */
 
-#define XSEC_HAVE_OPENSSL 1
+// #define XSEC_HAVE_OPENSSL 1
 
 #define XSEC_HAVE_WINCAPI 1
 
diff --git a/xsec/tools/xtest/xtest.cpp b/xsec/tools/xtest/xtest.cpp
index 5c58678..e23da97 100644
--- a/xsec/tools/xtest/xtest.cpp
+++ b/xsec/tools/xtest/xtest.cpp
@@ -2547,6 +2547,13 @@
 	bool		doSignatureUnitTests = true;
 	bool		doXKMSTest = true;
 
+	// Testing for which Crypto API to use by default - only really useful on windows
+#if !defined(XSEC_HAVE_OPENSSL)
+#if defined(XSEC_HAVE_WINCAPI)
+	g_useWinCAPI = true;
+#endif
+#endif
+
 	int paramCount = 1;
 
 	while (paramCount < argc) {