diff options
author | Zachary Scott <e@zzak.io> | 2015-11-13 14:03:28 +0900 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2015-11-13 14:03:28 +0900 |
commit | 395ee598b243aa0e7014fa29fe3d8b48cde9d88c (patch) | |
tree | 954950fb7a1b2568da15c239bb0b235b5239e343 /ext/openssl | |
parent | 9dc244d2708f85fd6b815095f7562cc27ece7d7e (diff) | |
download | ruby-openssl-395ee598b243aa0e7014fa29fe3d8b48cde9d88c.tar.gz |
Commit miss
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/ossl_pkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c index 4a3d3e59..e758c9e3 100644 --- a/ext/openssl/ossl_pkey.c +++ b/ext/openssl/ossl_pkey.c @@ -299,7 +299,7 @@ ossl_pkey_sign(VALUE self, VALUE digest, VALUE data) 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); |