From d4793aea4dfbf1862bf6ca8eb5cf4279a41b36a4 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Fri, 27 Jan 2017 02:02:39 +0100 Subject: Separate erlang config file for reloadable parameters --- src/sign.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sign.erl') diff --git a/src/sign.erl b/src/sign.erl index 99b83e6..6e0e0bd 100644 --- a/src/sign.erl +++ b/src/sign.erl @@ -151,7 +151,7 @@ remote_sign_request([URL|RestURLs], Request) -> sign_sct(Data = <<_Version:8, ?CERTIFICATE_TIMESTAMP:8, _/binary>>) -> - case application:get_env(plop, signing_nodes) of + case plopconfig:get_env(signing_nodes) of {ok, URLBases} -> Request = {[{plop_version, 1}, {data, base64:encode(Data)} @@ -164,7 +164,7 @@ sign_sct(Data = <<_Version:8, sign_sth(Data = <<_Version:8, ?TREE_HASH:8, _/binary>>) -> - case application:get_env(plop, signing_nodes) of + case plopconfig:get_env(signing_nodes) of {ok, URLBases} -> Request = {[{plop_version, 1}, {data, base64:encode(Data)} -- cgit v1.1