aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-01-18 11:58:47 +0100
committerFredrik Gustafsson <[email protected]>2013-01-18 11:58:47 +0100
commitce6eafad9cb94c27aa4f1b70655afb56fbeb85de (patch)
tree6ef64cd01260450aade9ac505f73c12fa4384f11
parent7bde9f1f97e771eb2ee31395224dad1daf3748c4 (diff)
downloadotp-ce6eafad9cb94c27aa4f1b70655afb56fbeb85de.tar.gz
otp-ce6eafad9cb94c27aa4f1b70655afb56fbeb85de.tar.bz2
otp-ce6eafad9cb94c27aa4f1b70655afb56fbeb85de.zip
Fixed specs
-rw-r--r--lib/public_key/src/public_key.erl4
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 5686920dd4..9b7d98728f 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -509,7 +509,7 @@ pkix_normalize_name(Issuer) ->
%%--------------------------------------------------------------------
-spec pkix_path_validation(Cert::binary()| #'OTPCertificate'{} | atom(),
CertChain :: [binary()] ,
- Options :: proplist:proplist()) ->
+ Options :: proplists:proplist()) ->
{ok, {PublicKeyInfo :: term(),
PolicyTree :: term()}} |
{error, {bad_cert, Reason :: term()}}.
@@ -547,7 +547,7 @@ pkix_path_validation(#'OTPCertificate'{} = TrustedCert, CertChain, Options)
%--------------------------------------------------------------------
-spec pkix_crls_validate(#'OTPCertificate'{},
[{DP::#'DistributionPoint'{} ,CRL::#'CertificateList'{}}],
- Options :: proplist:proplist()) -> valid | {bad_cert, revocation_status_undetermined}
+ Options :: proplists:proplist()) -> valid | {bad_cert, revocation_status_undetermined}
| {bad_cert, {revoked, crl_reason()}}.
%% Description: Performs a basic path validation according to RFC 5280.