You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ jruby -v
jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 Java HotSpot(TM) 64-Bit Server VM 25.40-b25 on 1.8.0_40-b27 +jit [darwin-x86_64]
$ uname -a
Darwin Jankos-MacBook-Pro-2.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
Expected Behavior
On MRI, OpenSSL::Cipher#update accepts an optional second argument – a buffer to load the encrypted/decrypted data into. This argument functions much in the same way as in IO#read and friends, it's purpose is for reducing string allocations and decreasing memory usage.
Environment
Expected Behavior
On MRI,
OpenSSL::Cipher#update
accepts an optional second argument – a buffer to load the encrypted/decrypted data into. This argument functions much in the same way as inIO#read
and friends, it's purpose is for reducing string allocations and decreasing memory usage.Actual Behavior
In JRuby
OpenSSL::Cipher#update
doesn't accept the buffer argument.The text was updated successfully, but these errors were encountered: