diff options
author | Ingela Anderton Andin <[email protected]> | 2014-08-26 13:57:46 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-08-27 16:16:01 +0200 |
commit | 382943f9a943eb4215a297f9445e21fb9b5c0633 (patch) | |
tree | 85c712218df30712e474e989b0641a0f3971dbc4 /lib/public_key/src | |
parent | 20aaacb5bc3ad0865c581ced9bd84e0a08a81514 (diff) | |
download | otp-382943f9a943eb4215a297f9445e21fb9b5c0633.tar.gz otp-382943f9a943eb4215a297f9445e21fb9b5c0633.tar.bz2 otp-382943f9a943eb4215a297f9445e21fb9b5c0633.zip |
public_key: Fix spec and documentation for pkix_crls_validate
Diffstat (limited to 'lib/public_key/src')
-rw-r--r-- | lib/public_key/src/public_key.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl index 75bb0c7b1c..1bbf4ef416 100644 --- a/lib/public_key/src/public_key.erl +++ b/lib/public_key/src/public_key.erl @@ -626,11 +626,11 @@ pkix_path_validation(#'OTPCertificate'{} = TrustedCert, CertChain, Options) %-------------------------------------------------------------------- -spec pkix_crls_validate(#'OTPCertificate'{}, - [{DP::#'DistributionPoint'{} ,CRL::#'CertificateList'{}}], + [{DP::#'DistributionPoint'{}, {DerCRL::binary(), CRL::#'CertificateList'{}}}], Options :: proplists:proplist()) -> valid | {bad_cert, revocation_status_undetermined} | {bad_cert, {revoked, crl_reason()}}. -%% Description: Performs a basic path validation according to RFC 5280. +%% Description: Performs a CRL validation according to RFC 5280. %%-------------------------------------------------------------------- pkix_crls_validate(OtpCert, [{_,_,_} |_] = DPAndCRLs, Options) -> pkix_crls_validate(OtpCert, DPAndCRLs, DPAndCRLs, |