summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/SslConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbedTLS++/SslConfig.cpp')
-rw-r--r--src/mbedTLS++/SslConfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbedTLS++/SslConfig.cpp b/src/mbedTLS++/SslConfig.cpp
index 054d63980..9bcac741f 100644
--- a/src/mbedTLS++/SslConfig.cpp
+++ b/src/mbedTLS++/SslConfig.cpp
@@ -5,7 +5,7 @@
#include "mbedTLS++/CryptoKey.h"
#include "mbedTLS++/EntropyContext.h"
-#include "mbedTLS++/RootCA.h"
+#include "mbedTLS++/X509Cert.h"
// This allows us to debug SSL and certificate problems, but produce way too much output,
@@ -235,8 +235,8 @@ std::shared_ptr<cSslConfig> cSslConfig::MakeDefaultConfig(bool a_IsClient)
Ret->SetRng(std::move(CtrDrbg));
}
- Ret->SetAuthMode(eSslAuthMode::Required);
- Ret->SetCACerts(GetCACerts());
+ // By default we have no root CAs, so no cert verification can be done:
+ Ret->SetAuthMode(eSslAuthMode::None);
#ifndef NDEBUG
#ifdef ENABLE_SSL_DEBUG_MSG