mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
stubby: fix handling of pkis in config (#8888)
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ generate_config()
|
|||||||
handle_resolver_spki()
|
handle_resolver_spki()
|
||||||
{
|
{
|
||||||
local val="$1"
|
local val="$1"
|
||||||
local digest="${val%/*}"
|
local digest="${val%%/*}"
|
||||||
local value="${val#*/}"
|
local value="${val#*/}"
|
||||||
|
|
||||||
if [ "$tls_pubkey_pinset_section" = 0 ]; then
|
if [ "$tls_pubkey_pinset_section" = 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user