diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-10 16:17:40 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-10 16:17:40 +0200 |
commit | 5d7003df82b839ed64439a819c6b825265d434df (patch) | |
tree | 18b2b119b85d7d6489defb6edfa3080c23e9b45e | |
parent | 7770cd985405c7630e9149fc08c314ec824a9c75 (diff) |
m_ssl_mbedtls Apply dummy CA workaround for client context
-rw-r--r-- | src/modules/extra/m_ssl_mbedtls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp index a465d06ee..ffe0a71b8 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -420,6 +420,7 @@ namespace mbedTLS } clientctx.SetOptionalVerifyCert(); + clientctx.SetCA(cacerts, crl); // The default for servers is to not request a client certificate from the peer if (requestclientcert) { |