diff options
Diffstat (limited to 'src/cmd/tls_client.cpp')
-rw-r--r-- | src/cmd/tls_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/tls_client.cpp b/src/cmd/tls_client.cpp index d10c46ba4..74607469f 100644 --- a/src/cmd/tls_client.cpp +++ b/src/cmd/tls_client.cpp @@ -6,7 +6,7 @@ #include "apps.h" -#if defined(BOTAN_HAS_TLS) +#if defined(BOTAN_HAS_TLS) && !defined(BOTAN_TARGET_OS_IS_WINDOWS) #include <botan/tls_client.h> #include <botan/pkcs8.h> #include <botan/hex.h> @@ -161,7 +161,7 @@ int tls_client(int argc, char* argv[]) TLS::Session_Manager_In_Memory session_manager(rng); #endif - Credentials_Manager_Simple creds(rng); + Basic_Credentials_Manager creds; std::string host = argv[1]; u32bit port = argc >= 3 ? Botan::to_u32bit(argv[2]) : 443; |