diff options
author | Linus Nordberg <linus@nordu.net> | 2017-01-27 15:11:42 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-02-01 11:14:41 +0100 |
commit | 829ab97fccb991832445862ec8246197a225ecec (patch) | |
tree | 8152c9e6855537661e7b1521ab45df62fd825e15 /src/plop_httputil.erl | |
parent | 9d3d360e9bde66c0b2c37a196635bcfe26872ebe (diff) |
Parallelised merge, distribution phase.
Diffstat (limited to 'src/plop_httputil.erl')
-rw-r--r-- | src/plop_httputil.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plop_httputil.erl b/src/plop_httputil.erl index af4a5d1..b4188e7 100644 --- a/src/plop_httputil.erl +++ b/src/plop_httputil.erl @@ -64,14 +64,14 @@ read_and_verify_cacertfile(Filename) -> [KeyPem] = public_key:pem_decode(PemBin), {'Certificate', Der, _} = KeyPem, CalculatedHash = crypto:hash(sha256, Der), - CorrectHash = application:get_env(catlfish, https_cacert_fingerprint, none), + CorrectHash = application:get_env(plop, https_cacert_fingerprint, none), CorrectHash = CalculatedHash, Der. request(DebugTag, URL, Headers, RequestBody) -> Starttime = os:timestamp(), ParsedURL = hackney_url:parse_url(URL), - CACertFile = application:get_env(catlfish, https_cacertfile, none), + CACertFile = application:get_env(plop, https_cacertfile, none), CACert = read_and_verify_cacertfile(CACertFile), #hackney_url{path = Path, host = Host} = ParsedURL, lager:debug("~s: sending http request to ~p", |