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 e2bf3659e1 [ruby/openssl] pkcs7: keep private key when duplicating PKCS7_SIGNER_INFO
ASN1_dup() will not copy the 'pkey' field of a PKCS7_SIGNER_INFO object
by design; it is a temporary field kept until the PKCS7 structure is
finalized. Let's bump reference counter of the pkey in the original
object and use it in the new object, too.

This commit also removes PKCS7#add_signer's routine to add the
content-type attribute as a signed attribute automatically. This
behavior was not documented or tested. This change should not break any
working user code since the method was completely useless without the
change above.

https://github.com/ruby/openssl/commit/20ca7a27a8
2021-03-31 18:05:07 +09:00
..
-test- rb_enc_interned_str: handle autoloaded encodings 2021-03-22 21:37:48 +09:00
bigdecimal [ruby/bigdecimal] Fix uint64 conversion 2021-02-04 13:18:58 +09:00
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-console] bump up to 0.5.9 2021-03-28 23:42:38 +09:00
json
monitor
nkf
objspace objspace_dump.c: tag singleton classes and reference the superclass 2021-02-04 09:53:31 -08:00
openssl [ruby/openssl] pkcs7: keep private key when duplicating PKCS7_SIGNER_INFO 2021-03-31 18:05:07 +09:00
pathname [ruby/pathname] Fix segfault of Pathname#split 2021-03-28 14:04:10 +09:00
psych Text files should end with a newline 2021-03-30 23:41:21 +09:00
pty Revert a part of "[DOC] refined" [ci skip] 2021-02-08 21:46:07 +09:00
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 [DOC] Fix typo in ext/socket/socket.c [ci skip] 2021-02-04 13:29:58 +09:00
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 Adjusted indents [ci skip] 2021-03-17 09:49:17 +09:00
.document
extmk.rb
Setup
Setup.atheos
Setup.nt