aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2018-07-02 21:28:57 +0900
committerKazuki Yamaguchi <k@rhe.jp>2018-07-27 05:50:07 +0900
commit8bb519b11cacd65b6043e5cde007f0765049d283 (patch)
tree354a02b5d3c5f1e2718e4881d49d58842c71ad99 /Dockerfile
parent1f90516e32ecd755d592002585e97cb78752eae2 (diff)
downloadruby-openssl-ky/pkey-generate-interrupt-resume.tar.gz
pkey: resume key generation after interruptky/pkey-generate-interrupt-resume
Key/parameter generation (OpenSSL::PKey::*.{new,generate}) immediately aborts when it is done with GVL released (in other words, no block is given) and the thread is interrupted (e.g., by a signal) during the operation. Have ossl_generate_cb_2() acquire GVL and call rb_thread_check_ints() if needed to process the pending interrupt rather than abort the operation completely by returning 0. Reference: https://bugs.ruby-lang.org/issues/14882
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions