Fix crypto:rc4_encrypt_with_state/2 (Gmail SSL issue)

Paul Guyot <>
Fri Aug 20 15:21:43 CEST 2010


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

Regards,

Paul
-- 
Semiocast                    http://semiocast.com/
+33.175000290 - 62 bis rue Gay-Lussac, 75005 Paris



More information about the erlang-patches mailing list