diff options
author | Ingela Anderton Andin <[email protected]> | 2014-04-17 16:45:27 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-04-17 16:45:27 +0200 |
commit | 26082cdd64823ecf92c47188f5a161e5ff2f8660 (patch) | |
tree | e1d65e9aaf04d68a2f604524b1ec4a8df5d81564 /lib/ssl/src/ssl_record.erl | |
parent | df7dc4d8b6a2834136c5ffefb404009ce62ea939 (diff) | |
download | otp-26082cdd64823ecf92c47188f5a161e5ff2f8660.tar.gz otp-26082cdd64823ecf92c47188f5a161e5ff2f8660.tar.bz2 otp-26082cdd64823ecf92c47188f5a161e5ff2f8660.zip |
ssl: Correct decryption error handling
Diffstat (limited to 'lib/ssl/src/ssl_record.erl')
-rw-r--r-- | lib/ssl/src/ssl_record.erl | 2 |
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 %%-------------------------------------------------------------------- |