[erlang-bugs] Fix crypto:rc4_encrypt_with_state/2 (Gmail SSL issue)

Björn Gustavsson <>
Fri Aug 20 15:39:20 CEST 2010


On Fri, Aug 20, 2010 at 3:21 PM, Paul Guyot <> wrote:
> Hello,
>
> There is a simple bug in crypto:rc4_encrypt_with_state/2 NIF binding. As a result, RC4 stream cipher does not work, and one cannot connect to SSL servers that want to use an RC4 cipher suite (e.g. smtp.gmail.com).
>
> The fix is available here, with a non-regression test:
> git fetch git://github.com/pguyot/otp.git pg/fix-crypto-rc4_encrypt_with_state
> http://github.com/pguyot/otp/commit/c1af26a59c46a6f9d295a0374326574157f6d8a5

Thanks! Included in pu.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list