OpenSSL: Fix trust store for Ubuntu 26.04 (OpenSSL 3.5.0e-dev)

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2026-10-05 10:12:56 +01:00
1 parent 75a532c1f7
commit b2ba5ff454
1 file changed
+2 -2
+2 -2
View File
@@ -3382,14 +3382,14 @@ coap_dtls_context_load_pki_trust_store(coap_context_t *ctx) {
coap_openssl_context_t *context =
((coap_openssl_context_t *)ctx->dtls_context);
if (context->dtls.ctx) {
if (!SSL_CTX_set_default_verify_store(context->dtls.ctx)) {
if (!SSL_CTX_set_default_verify_paths(context->dtls.ctx)) {
coap_log_warn("Unable to load trusted root CAs\n");
return 0;
}
}
#if !COAP_DISABLE_TCP
if (context->tls.ctx) {
if (!SSL_CTX_set_default_verify_store(context->tls.ctx)) {
if (!SSL_CTX_set_default_verify_paths(context->tls.ctx)) {
coap_log_warn("Unable to load trusted root CAs\n");
return 0;
}