mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): last modify is
rollbacked for future compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b6d266dae
commit
7662d794fe
2 changed files with 1 additions and 4 deletions
|
@ -316,7 +316,7 @@ ossl_cipher_set_padding(VALUE self, VALUE padding)
|
|||
EVP_CIPHER_CTX *ctx;
|
||||
|
||||
GetCipher(self, ctx);
|
||||
if (EVP_CIPHER_CTX_set_padding(ctx, RTEST(padding)) != 1)
|
||||
if (EVP_CIPHER_CTX_set_padding(ctx, NUM2INT(padding)) != 1)
|
||||
ossl_raise(eCipherError, NULL);
|
||||
#else
|
||||
rb_notimplement();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue