1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Kazuki Yamaguchi 1eb6d8aa63 [ruby/openssl] bn: check -1 return from BIGNUM functions
Although the manpage says that BIGNUM functions return 0 on error,
OpenSSL versions before 1.0.2n and current LibreSSL versions may return
-1 instead.

Note that the implementation of OpenSSL::BN#mod_inverse is extracted
from BIGNUM_2c() macro as it didn't really share the same function
signature with others.

https://github.com/ruby/openssl/commit/9b59f34345
2021-03-16 19:37:06 +09:00
..
-test-
bigdecimal
cgi/escape
continuation
coverage
date
dbm
digest
etc
fcntl
fiddle Oops! Add another test and fix to_proc implementation 2021-02-26 10:06:56 -08:00
gdbm
io [ruby/io-wait] Declare as Ractor-safe 2021-03-07 09:54:35 +09:00
json
monitor
nkf
objspace
openssl [ruby/openssl] bn: check -1 return from BIGNUM functions 2021-03-16 19:37:06 +09:00
pathname
psych Expose scheduler as public interface & bug fixes. (#3945) 2021-02-09 19:39:56 +13:00
pty
racc/cparse
rbconfig/sizeof
readline [ruby/readline-ext] Initialize libedit before managing the history 2021-02-18 21:18:37 +09:00
ripper ripper: fix a bug of Ripper::Lexer with syntax error and heredoc [Bug #17644] 2021-02-19 16:40:29 +09:00
rubyvm
socket
stringio [ruby/stringio] Check if closed in loop 2021-03-08 10:13:29 +09:00
strscan Update class documentation for StringScanner 2021-02-10 08:17:07 -08:00
syslog
win32
win32ole
zlib [ruby/zlib] Resume zstream if available [Bug #10961] 2021-03-09 13:19:03 +09:00
.document
extmk.rb
Setup
Setup.atheos
Setup.nt