Skip to content

Commit

Permalink
Fixing SSL Client Socket CA directory configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Nov 8, 2023
1 parent 8d6851c commit 4f8d4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ssl_socket/client/SslSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bool SslSocket::socketConnectImpl()
tr("Failed to add CA certificate(s) from "));

if (!m_caDir.isEmpty()) {
if (!config.addCaCertificates(m_caDir, m_caDirFormat)) {
if (!config.addCaCertificates(m_caDir + "/*", m_caDirFormat, QSslCertificate::PatternSyntax::Wildcard)) {
reportError(FailedToAddCaError + m_caDir);
}
}
Expand Down

0 comments on commit 4f8d4e4

Please sign in to comment.