diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-15 10:52:37 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-15 10:52:37 +0000 |
commit | 2851f19f49783149a2ba43f7c1be743601c7cf2d (patch) | |
tree | 3c5fc6754f9b30c40b8bf4ff3613e8d7e1b60d6b /test/cgi/update_env.rb | |
parent | ce19b495d19bbaf415b05b10377788cb4b87d937 (diff) | |
download | ruby-2851f19f49783149a2ba43f7c1be743601c7cf2d.tar.gz |
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@gmail.com>.
[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
Diffstat (limited to 'test/cgi/update_env.rb')
0 files changed, 0 insertions, 0 deletions