From b2ba5ff4541168566d3ffce80fabd99b2a2ca2e6 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Mon, 5 Oct 2026 09:47:30 +0100 Subject: [PATCH] OpenSSL: Fix trust store for Ubuntu 26.04 (OpenSSL 3.5.0e-dev) --- src/coap_openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coap_openssl.c b/src/coap_openssl.c index 224491d3..59ab59d6 100644 --- a/src/coap_openssl.c +++ b/src/coap_openssl.c @@ -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; }