25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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
end, Paths); end, Paths);
validate(_, _) -> validate(_, _) ->
ok. [].
-spec validate_path([cert()]) -> ok | {error, cert(), bad_cert()}. -spec validate_path([cert()]) -> ok | {error, cert(), bad_cert()}.
validate_path([Cert|_] = Certs) -> validate_path([Cert|_] = Certs) ->