aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrik@erlang.org>2013-01-21 14:24:02 +0100
committerFredrik Gustafsson <fredrik@erlang.org>2013-01-21 14:24:02 +0100
commitbdcc3a41d5d6ba82bb50850261a352c13104d3fc (patch)
treeb42bf6f5a22991ba82b73ddfa00f3ff8a187d317
parent043da0de9576732671fb61f560070932024dde87 (diff)
parentce6eafad9cb94c27aa4f1b70655afb56fbeb85de (diff)
downloadotp-bdcc3a41d5d6ba82bb50850261a352c13104d3fc.tar.gz
otp-bdcc3a41d5d6ba82bb50850261a352c13104d3fc.tar.bz2
otp-bdcc3a41d5d6ba82bb50850261a352c13104d3fc.zip
Merge branch 'fredrik/public_key/specs-r16/OTP-10723'
* fredrik/public_key/specs-r16/OTP-10723: 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.