ruby-changes:40476
From: zzak <ko1@a...>
Date: Fri, 13 Nov 2015 14:04:01 +0900 (JST)
Subject: [ruby-changes:40476] zzak:r52557 (trunk): Commit miss from r52556
zzak 2015-11-13 14:03:55 +0900 (Fri, 13 Nov 2015) New Revision: 52557 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52557 Log: Commit miss from r52556 Modified files: trunk/ext/openssl/ossl_pkey.c Index: ext/openssl/ossl_pkey.c =================================================================== --- ext/openssl/ossl_pkey.c (revision 52556) +++ ext/openssl/ossl_pkey.c (revision 52557) @@ -299,7 +299,7 @@ ossl_pkey_sign(VALUE self, VALUE digest, https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_pkey.c#L299 StringValue(data); EVP_SignUpdate(&ctx, RSTRING_PTR(data), RSTRING_LEN(data)); str = rb_str_new(0, EVP_PKEY_size(pkey)+16); - result = EVP_SignFinal(&ctx, (unsigned char *)RSTRING_PTR(str), &buf_len, pkey) + result = EVP_SignFinal(&ctx, (unsigned char *)RSTRING_PTR(str), &buf_len, pkey); EVP_MD_CTX_cleanup(&ctx); if (!result) ossl_raise(ePKeyError, NULL); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/