aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-01-11 11:07:00 +0100
committerIngela Anderton Andin <[email protected]>2011-01-11 11:07:00 +0100
commitc6abed0fa0cbda3247bfd935bdc325f8983320cc (patch)
treeb74cdeee07191df7e8446dd24c41cb43cd73df86 /lib/ssl/src/ssl_connection.erl
parentab1c28eadc968d8475ce42a97b2ae143590d5cc1 (diff)
parent2c0b7c2a77ad5da376e85d208e29bd471061ac9a (diff)
downloadotp-c6abed0fa0cbda3247bfd935bdc325f8983320cc.tar.gz
otp-c6abed0fa0cbda3247bfd935bdc325f8983320cc.tar.bz2
otp-c6abed0fa0cbda3247bfd935bdc325f8983320cc.zip
Merge branch 'ia/ssl/doc-spec-discrepancy' into dev
* ia/ssl/doc-spec-discrepancy: Fixed Dialyzer specs
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r--lib/ssl/src/ssl_connection.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 675e5e44bd..4a31b57802 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2011. 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
@@ -1096,6 +1096,7 @@ init_private_key({rsa, PrivateKey}, _, _,_) ->
init_private_key({dsa, PrivateKey},_,_,_) ->
public_key:der_decode('DSAPrivateKey', PrivateKey).
+-spec(handle_file_error/6 :: (_,_,_,_,_,_) -> no_return()).
handle_file_error(Line, Error, {badmatch, Reason}, File, Throw, Stack) ->
file_error(Line, Error, Reason, File, Throw, Stack);
handle_file_error(Line, Error, Reason, File, Throw, Stack) ->