aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_certificate.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-03-28 12:01:31 +0200
committerIngela Anderton Andin <[email protected]>2012-03-28 12:01:31 +0200
commite93c9db144d3c9ffe032d0d316c31f9750b21739 (patch)
treeb42106c23a8fa10b911eeb701320e774a500f3b0 /lib/ssl/src/ssl_certificate.erl
parent40db677901d8b229773e45175bf55ebde66a7734 (diff)
parent49acec1bbc272556f87d47faf5dbc5b8f260598e (diff)
downloadotp-e93c9db144d3c9ffe032d0d316c31f9750b21739.tar.gz
otp-e93c9db144d3c9ffe032d0d316c31f9750b21739.tar.bz2
otp-e93c9db144d3c9ffe032d0d316c31f9750b21739.zip
Merge branch 'ia/ssl/dialyzer-specs' into maint
* ia/ssl/dialyzer-specs: 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()}.