diff options
author | Kazuki Yamaguchi <[email protected]> | 2021-10-14 15:50:02 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <[email protected]> | 2021-10-16 18:34:35 +0900 |
commit | ca28545b517057613f57e4814622e553d6fae442 (patch) | |
tree | 82e943a01ff0e8343718f6496c51f661d323c027 /ext/openssl/openssl_missing.c | |
parent | c6c2190c4c546743981944c9ff258a94a6ea7a09 (diff) |
[ruby/openssl] 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().
https://github.com/ruby/openssl/commit/022b7ceada
Diffstat (limited to 'ext/openssl/openssl_missing.c')
0 files changed, 0 insertions, 0 deletions