diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-03-20 17:24:48 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-03-20 17:24:48 +0100 |
commit | 7e1b8b876fbfe63243409daba60ffac3d78cdd44 (patch) | |
tree | 7abc6c9537c34103a9a2dea65d50df348f378a4a /src/v1.erl | |
parent | f98f39ea2e9ae9d701f79de1b45e21fa0e5fd995 (diff) |
s/valid_chain_p/normalise_chain/g
Diffstat (limited to 'src/v1.erl')
-rw-r--r-- | src/v1.erl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,8 +120,8 @@ add_chain(Input, Type) -> html("add-chain: invalid base64-encoded chain: ", [ChainBase64]); [LeafCert | CertChain] -> - case x509:valid_chain_p(catlfish:known_roots(), - [LeafCert|CertChain]) of + case x509:normalise_chain(catlfish:known_roots(), + [LeafCert|CertChain]) of {ok, [Leaf | Chain]} -> lager:info("adding ~p cert ~p", [Type, x509:cert_string(LeafCert)]), |