aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_ocsp.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-10-14 15:50:02 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-10-14 16:13:42 +0900
commit022b7ceadaf44b33ad36bba78bce3632d364d8d9 (patch)
treeaa75f32efb623328cf1493cf1e6d2d9a06914306 /ext/openssl/ossl_ocsp.h
parent6880dbab7dba909320335c25b0e14ce7e22fa8a4 (diff)
downloadruby-openssl-022b7ceadaf44b33ad36bba78bce3632d364d8d9.tar.gz
ssl: explicitly call rb_gc_mark() against SSLContext/SSLSocket objects
We store the reverse reference to the Ruby object in the OpenSSL struct for use from OpenSSL callback functions. To prevent the Ruby object from being relocated by GC.compact, we must "pin" it by calling rb_gc_mark().
Diffstat (limited to 'ext/openssl/ossl_ocsp.h')
0 files changed, 0 insertions, 0 deletions