summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_ssl.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-10-14 15:52:39 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-10-16 18:34:35 +0900
commitf6612203fa6ea240d83b85aa561258ece11fa48b (patch)
tree2e197ae557eccbd30b6ff212f43d3a25924113e0 /ext/openssl/ossl_ssl.c
parentca28545b517057613f57e4814622e553d6fae442 (diff)
[ruby/openssl] x509store: explicitly call rb_gc_mark() against Store/StoreContext
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/a6ba9f894f
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
0 files changed, 0 insertions, 0 deletions