25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix pkix:validate() return value

This commit is contained in:
Paweł Chmielowski 2017-11-02 11:28:23 +01:00
parent a22aad0a4b
commit 354a710e70

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) ->