aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_certificate.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-03-27 17:44:19 +0200
committerIngela Anderton Andin <[email protected]>2012-03-27 17:44:19 +0200
commit49acec1bbc272556f87d47faf5dbc5b8f260598e (patch)
tree0803a3660922929e4b7e8238eb3bd2303fb9b4a1 /lib/ssl/src/ssl_certificate.erl
parent3e922e3a1995f7a63d7bf457a6a45a3d8010756f (diff)
downloadotp-49acec1bbc272556f87d47faf5dbc5b8f260598e.tar.gz
otp-49acec1bbc272556f87d47faf5dbc5b8f260598e.tar.bz2
otp-49acec1bbc272556f87d47faf5dbc5b8f260598e.zip
Corrected dialyzer specs and exported some dialyzer specs
Diffstat (limited to 'lib/ssl/src/ssl_certificate.erl')
-rw-r--r--lib/ssl/src/ssl_certificate.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_certificate.erl b/lib/ssl/src/ssl_certificate.erl
index 61876e1158..0931b86782 100644
--- a/lib/ssl/src/ssl_certificate.erl
+++ b/lib/ssl/src/ssl_certificate.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -111,7 +111,7 @@ file_to_certificats(File, DbHandle) ->
{ok, List} = ssl_manager:cache_pem_file(File, DbHandle),
[Bin || {'Certificate', Bin, not_encrypted} <- List].
%%--------------------------------------------------------------------
--spec validate_extension(term(), #'Extension'{} | {bad_cert, atom()} | valid,
+-spec validate_extension(term(), {extension, #'Extension'{}} | {bad_cert, atom()} | valid,
term()) -> {valid, term()} |
{fail, tuple()} |
{unknown, term()}.