Fix pkix:validate() return value

This commit is contained in:
Paweł Chmielowski 2017-11-02 11:28:23 +01:00
parent a22aad0a4b
commit 354a710e70
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ validate(Paths, true) ->
end
end, Paths);
validate(_, _) ->
ok.
[].
-spec validate_path([cert()]) -> ok | {error, cert(), bad_cert()}.
validate_path([Cert|_] = Certs) ->