[ruby-cvs:50819] akr:r43676 (trunk): * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use

akr at ruby-lang.org akr at ruby-lang.org
Thu Nov 14 19:58:16 JST 2013


akr	2013-11-14 19:58:15 +0900 (Thu, 14 Nov 2013)

  New Revision: 43676

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43676

  Log:
    * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use
      String#succ because it can make modified (wrong) auth_tag longer
      than 16 bytes.  The longer auth_tag makes that
      EVP_CIPHER_CTX_ctrl (and internally aes_gcm_ctrl) fail.
      [ruby-core:55143] [Bug #8439] reported by Vit Ondruch.

  Modified files:
    trunk/ChangeLog
    trunk/test/openssl/test_cipher.rb


More information about the ruby-cvs mailing list