diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-05-21 11:22:55 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-05-21 11:22:55 +0200 |
commit | a6740a335d8ea08c7e38c47bdea599352b8fdb36 (patch) | |
tree | 4d773e115e28ac873faf7a3f780904c8de7ba857 /src/PolarSSL++ | |
parent | Merge pull request #2030 from beeduck/master (diff) | |
parent | Added Equifax root CA. (diff) | |
download | cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar.gz cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar.bz2 cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar.lz cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar.xz cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.tar.zst cuberite-a6740a335d8ea08c7e38c47bdea599352b8fdb36.zip |
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r-- | src/PolarSSL++/SslContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PolarSSL++/SslContext.cpp b/src/PolarSSL++/SslContext.cpp index 4c7fd4a23..5ac4bc227 100644 --- a/src/PolarSSL++/SslContext.cpp +++ b/src/PolarSSL++/SslContext.cpp @@ -152,7 +152,7 @@ void cSslContext::SetCACerts(const cX509CertPtr & a_CACert, const AString & a_Ex m_CACerts = a_CACert; // Set the trusted CA root cert store: - ssl_set_authmode(&m_Ssl, SSL_VERIFY_OPTIONAL); + ssl_set_authmode(&m_Ssl, SSL_VERIFY_REQUIRED); ssl_set_ca_chain(&m_Ssl, m_CACerts->GetInternal(), nullptr, m_ExpectedPeerName.empty() ? nullptr : m_ExpectedPeerName.c_str()); } |