From cc3e695174480301ce78eff148dbde2ce085d132 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 2 Oct 2024 00:26:21 +0100 Subject: [PATCH] upate lusossl patch --- main.fnl | 2 +- package.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.fnl b/main.fnl index 21f0a82..8473e34 100644 --- a/main.fnl +++ b/main.fnl @@ -94,7 +94,7 @@ (crt:toPEM))) (fn approve-request? [csr] - (let [{ : challengePassword } (csr:getAttributes)] + (let [challengePassword (csr:getAttribute :challengePassword)] (when challengePassword (accumulate [found false _ v (ipairs challengePassword)] diff --git a/package.nix b/package.nix index 8444240..77d6d9d 100644 --- a/package.nix +++ b/package.nix @@ -13,7 +13,7 @@ let patches = [ (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/wahern/luaossl/pull/218.patch"; - hash = "sha256-0+5OR9t7nw8lPi7jcM/RwI8Qt8HeXwU1jvl+f+B5V38="; + hash = "sha256-2GOliY4/RUzOgx3rqee3X3szCdUVxYDut7d+XFcUTJw="; }) ] ++ lib.optionals (o ? patches) o.patches; });