From 7eb1e26904ac8d6fc9da397c010eccf9ddc53cb6 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:00:05 +0100 Subject: [PATCH 1/2] AP: use bundled cert store for archipelago ssl connections --- src/ap/aptracker.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ap/aptracker.h b/src/ap/aptracker.h index 4a273fbb..ac1a1b3e 100644 --- a/src/ap/aptracker.h +++ b/src/ap/aptracker.h @@ -9,6 +9,7 @@ #include #include "../core/signal.h" #include "../core/fileutil.h" +#include "../core/assets.h" #include #include #include @@ -79,7 +80,7 @@ class APTracker final { return false; } - _ap = new APClient(_uuid, _game, uri); + _ap = new APClient(_uuid, _game, uri, asset("cacert.pem")); _ap->set_data_package(_datapackage); _ap->set_socket_connected_handler([this, slot, pw]() { auto lock = EventLock(_event); From 6734c8153775b251b5920e54975314060302284a Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:01:55 +0100 Subject: [PATCH 2/2] AP: update apclientpp for per-game-ids --- lib/apclientpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apclientpp b/lib/apclientpp index 4176e309..93c55bfe 160000 --- a/lib/apclientpp +++ b/lib/apclientpp @@ -1 +1 @@ -Subproject commit 4176e309d959ff282316eb5c26f5d22d2f501b5f +Subproject commit 93c55bfeb7cec7312603d9fc2ccb6b6bbd436723