mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/set.rb (Set#==): [ruby-dev:25206]
* ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198] * utf8.c (utf8_is_mbc_ambiguous): [ruby-talk:123561] * utf8.c (utf8_mbc_to_normalize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
772396882f
commit
2edbb9d0f8
23 changed files with 184 additions and 146 deletions
|
@ -172,9 +172,9 @@ ossl_spki_sign(VALUE self, VALUE key, VALUE digest)
|
|||
EVP_PKEY *pkey;
|
||||
const EVP_MD *md;
|
||||
|
||||
GetSPKI(self, spki);
|
||||
pkey = GetPrivPKeyPtr(key); /* NO NEED TO DUP */
|
||||
md = GetDigestPtr(digest);
|
||||
GetSPKI(self, spki);
|
||||
if (!NETSCAPE_SPKI_sign(spki, pkey, md)) {
|
||||
ossl_raise(eSPKIError, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue