Fix pkix:validate() return value
This commit is contained in:
parent
a22aad0a4b
commit
354a710e70
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue