You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original reporter: michaesc
Affected version: OTP-19.0
Fixed in version: OTP-19.1
Component: crypto
Migrated from: https://bugs.erlang.org/browse/ERL-203
gwuser@dell-3290:/tmp$ uname -a
Linux dell-3290 3.14.58_IDP-XT_3.1-WR7.0.0.13_idp #1 SMP PREEMPT Tue Jun 7 16:52:19 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
gwuser@dell-3290:/tmp$ openssl version
OpenSSL 1.0.1j 15 Oct 2014
gwuser@dell-3290:/tmp$ rpm -qi openssl
Name : openssl Relocations: (not relocatable)
Version : 1.0.1j Vendor: (none)
Release : r0.6 Build Date: Tue Jun 7 16:11:20 2016
Install Date: Thu Jul 28 09:52:04 2016 Build Host: idpbuildserver
Group : libs/network Source RPM: openssl-1.0.1j-r0.6.src.rpm
Size : 474256 License: openssl
Signature : RSA/SHA256, Tue Jun 7 20:29:48 2016, Key ID ae2d2d9f584c3230
Packager : Wind River <info@windriver.com>
URL : http://www.openssl.org/
Summary : Secure Socket Layer
Architecture: corei7_64
gwuser@dell-3290:~/otp_src_19.0$ configure && make
[...]
make[4]: Entering directory 'otp_src_19.0/lib/crypto/c_src'
CC ../priv/obj/x86_64-unknown-linux-gnu/crypto.o
In file included from crypto.c:40:0:
/usr/include/openssl/des.h:66:2: error: #error DES is disabled.
#error DES is disabled.
PROPOSAL
We should include logic for the DES cipher only when it's actually available. Here's a scrappy patch that works on today's trunk revision: msvbotpgitcrypto-20160728.patch
The text was updated successfully, but these errors were encountered:
After feedback from the crypto application maintainer I have modified your patch to:
* Exit 'notsup' instead of 'badarg' when trying to use a disabled DES cipher
* Not present these disabled ciphers in crypto:supports()
* Fix all test cases to not fail when these ciphers are not supported
* Correct an old spelling error 'des3_cbf' by creating an alias 'des3_cfb' and the same for 'des_ede3_cbf' (unrelated to your patch)
Now running in our daily tests on the 'maint' branch.
Original reporter:
michaesc
Affected version:
OTP-19.0
Fixed in version:
OTP-19.1
Component:
crypto
Migrated from: https://bugs.erlang.org/browse/ERL-203
The text was updated successfully, but these errors were encountered: