From b3b677b6b751294a07a749b13b31803bca42a8b1 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Fri, 9 Aug 2024 12:06:32 +0200 Subject: [PATCH] Fix pubkey_os_cacerts:load() on DragonFly Fixes an exception thrown when running "mix setup" on Elixir 1.18.0-dev: ** (EXIT from #PID<0.93.0>) an exception was raised: ** (MatchError) no match of right hand side value: {:error, {:enotsup, {:unix, :dragonfly}}} --- lib/public_key/src/pubkey_os_cacerts.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/public_key/src/pubkey_os_cacerts.erl b/lib/public_key/src/pubkey_os_cacerts.erl index f3659cda5c56..2cc028be5f57 100644 --- a/lib/public_key/src/pubkey_os_cacerts.erl +++ b/lib/public_key/src/pubkey_os_cacerts.erl @@ -61,6 +61,8 @@ load() -> load(bsd_paths(), undefined); {unix, freebsd} -> load(bsd_paths(), undefined); + {unix, dragonfly} -> + load(bsd_paths(), undefined); {unix, netbsd} -> load(bsd_paths(), undefined); {unix, sunos} ->