[ruby-cvs:62586] rhe:r55422 (trunk): openssl: allow specifying hash algorithm in OCSP::*#sign

rhe at ruby-lang.org rhe at ruby-lang.org
Wed Jun 15 19:52:37 JST 2016


rhe	2016-06-15 19:52:37 +0900 (Wed, 15 Jun 2016)

  New Revision: 55422

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55422

  Log:
    openssl: allow specifying hash algorithm in OCSP::*#sign
    
    * ext/openssl/ossl_ocsp.c (ossl_ocspreq_sign, ossl_ocspbres_sign): Allow
      specifying hash algorithm used in signing. They are hard coded to use
      SHA-1.
      Based on a patch provided by Tim Shirley <tidoublemy at gmail.com>.
      [ruby-core:70915] [Feature #11552] [GH ruby/openssl#28]
    
    * test/openssl/test_ocsp.rb: Test sign-verify works.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ocsp.c
    trunk/test/openssl/test_ocsp.rb


More information about the ruby-cvs mailing list