Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-203

Avoid use of deprecated ciphers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 19.1
    • Component/s: crypto
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            ingela Ingela Anderton Andin
            Reporter:
            michaesc Michae
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: