[ruby-cvs:64119] rhe:r56953 (trunk): openssl: import fixes from upstream

rhe at ruby-lang.org rhe at ruby-lang.org
Thu Dec 1 13:42:10 JST 2016

rhe	2016-12-01 13:42:10 +0900 (Thu, 01 Dec 2016)

  New Revision: 56953


    openssl: import fixes from upstream
    Import the following two commits from upstream:
      commit 72126d6c8b88abd69c3565fc3bbbd5ed1e401611
      Author: Kazuki Yamaguchi <k at rhe.jp>
      Date:   Thu Dec 1 22:27:03 2016 +0900
          pkey: check existence of EVP_PKEY_get0()
          EVP_PKEY_get0() did not exist in early OpenSSL 0.9.8 series. So define
          ourselves if needed.
      commit 94a1c4e0c5705ad1e9a4ca08cacaa6cba8b1e6f5
      Author: Kazuki Yamaguchi <k at rhe.jp>
      Date:   Thu Dec 1 22:13:22 2016 +0900
          test/test_cipher: fix test with OpenSSL 1.0.1 before 1.0.1d
          Set the authentication tag before the AAD when decrypting.
          Before OpenSSL commit 96f7fafa2431 ("Don't require tag before ciphertext
          in AESGCM mode", 2012-10-16, at OpenSSL_1_0_1-stable branch, included in
          OpenSSL 1.0.1d), the authentication tag must be set before any calls of
    They should fix build on CentOS 5 and Ubuntu 12.04 respectively.

  Modified files:

More information about the ruby-cvs mailing list