aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_record.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-04-22 11:04:56 +0200
committerIngela Anderton Andin <[email protected]>2014-04-22 11:04:56 +0200
commit3ecbc26f21e876313f569f35a23b590d985943a0 (patch)
tree79486994d47fcff0b316baa7fe72bafe1e6b82a8 /lib/ssl/src/ssl_record.erl
parente94575a205cd13db8cc15b000f1689bf33088779 (diff)
parented1c35ea483db86d208335f43565026b12c426d6 (diff)
downloadotp-3ecbc26f21e876313f569f35a23b590d985943a0.tar.gz
otp-3ecbc26f21e876313f569f35a23b590d985943a0.tar.bz2
otp-3ecbc26f21e876313f569f35a23b590d985943a0.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/ssl_record.erl')
-rw-r--r--lib/ssl/src/ssl_record.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_record.erl b/lib/ssl/src/ssl_record.erl
index b0e9943e6d..7337225bc4 100644
--- a/lib/ssl/src/ssl_record.erl
+++ b/lib/ssl/src/ssl_record.erl
@@ -377,7 +377,7 @@ cipher(Version, Fragment,
ssl_cipher:cipher(BulkCipherAlgo, CipherS0, MacHash, Fragment, Version),
{CipherFragment, WriteState0#connection_state{cipher_state = CipherS1}}.
%%--------------------------------------------------------------------
--spec decipher(ssl_version(), binary(), #connection_state{}) -> {binary(), binary(), #connection_state{}}.
+-spec decipher(ssl_version(), binary(), #connection_state{}) -> {binary(), binary(), #connection_state{}} | #alert{}.
%%
%% Description: Payload decryption
%%--------------------------------------------------------------------