diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2018-07-02 21:28:57 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2018-07-27 05:50:07 +0900 |
commit | 8bb519b11cacd65b6043e5cde007f0765049d283 (patch) | |
tree | 354a02b5d3c5f1e2718e4881d49d58842c71ad99 /Dockerfile | |
parent | 1f90516e32ecd755d592002585e97cb78752eae2 (diff) | |
download | ruby-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