Project

General

Profile

« Previous | Next » 

Revision 2851f19f

Added by rhe almost 8 years ago

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 .
    [ruby-core:70915] [Feature #11552] [GH ruby/openssl#28]

  • test/openssl/test_ocsp.rb: Test sign-verify works.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e