From 5db119a1cc2e1465fa202fb24d7f7aad14bf9698 Mon Sep 17 00:00:00 2001 From: "Jonathan G. Underwood" Date: Fri, 10 May 2019 00:26:38 +0100 Subject: [PATCH] stubby: fix handling of pkis in config (#8888) Signed-off-by: Jonathan G. Underwood --- net/stubby/files/stubby.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/stubby/files/stubby.init b/net/stubby/files/stubby.init index 4a975e39d5..ff2f0ef3ea 100755 --- a/net/stubby/files/stubby.init +++ b/net/stubby/files/stubby.init @@ -136,7 +136,7 @@ generate_config() handle_resolver_spki() { local val="$1" - local digest="${val%/*}" + local digest="${val%%/*}" local value="${val#*/}" if [ "$tls_pubkey_pinset_section" = 0 ]; then -- 2.30.2