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:
parent
a22aad0a4b
commit
354a710e70
@ -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) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user