diff options
author | Christian von Roques <[email protected]> | 2011-08-08 12:26:13 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-08-08 14:47:46 +0200 |
commit | c43247746c9a8713980a07f4ede52c28d7670e02 (patch) | |
tree | ec6e13f804159b5f5fc931446e37a609d919ec73 /lib/public_key | |
parent | e011c1aa263f7f08177347fe619b54a621c17372 (diff) | |
download | otp-c43247746c9a8713980a07f4ede52c28d7670e02.tar.gz otp-c43247746c9a8713980a07f4ede52c28d7670e02.tar.bz2 otp-c43247746c9a8713980a07f4ede52c28d7670e02.zip |
reindent pkix_path_validation/3
Diffstat (limited to 'lib/public_key')
-rw-r--r-- | lib/public_key/src/public_key.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl index 2901020e83..33fcce2c44 100644 --- a/lib/public_key/src/public_key.erl +++ b/lib/public_key/src/public_key.erl @@ -488,9 +488,10 @@ pkix_path_validation(PathErr, [Cert | Chain], Options0) when is_atom(PathErr)-> _:_ -> {error, Reason} end; -pkix_path_validation(TrustedCert, CertChain, Options) when - is_binary(TrustedCert) -> OtpCert = pkix_decode_cert(TrustedCert, - otp), pkix_path_validation(OtpCert, CertChain, Options); +pkix_path_validation(TrustedCert, CertChain, Options) + when is_binary(TrustedCert) -> + OtpCert = pkix_decode_cert(TrustedCert, otp), + pkix_path_validation(OtpCert, CertChain, Options); pkix_path_validation(#'OTPCertificate'{} = TrustedCert, CertChain, Options) when is_list(CertChain), is_list(Options) -> |