aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2023-06-02 18:07:53 +0900
committerGitHub <noreply@github.com>2023-06-02 18:07:53 +0900
commit7d6d7320f48adb6558f714b579f2b5f700c81d7d (patch)
treee9f21da3af43c78948cf35b0bbba8b5b2e937258 /ext/openssl/ossl_pkey.c
parent7e411b47020bc1efdf3f9e0e0fafe9a743addcc9 (diff)
parent2c7c6de69e3e008b834cbf875c78209561a9018c (diff)
downloadruby-openssl-7d6d7320f48adb6558f714b579f2b5f700c81d7d.tar.gz
Merge pull request #604 from casperisfine/ssl-write-barrier
Implement Write Barrier for all OpenSSL types
Diffstat (limited to 'ext/openssl/ossl_pkey.c')
-rw-r--r--ext/openssl/ossl_pkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c
index a8e97d0b..a5baa218 100644
--- a/ext/openssl/ossl_pkey.c
+++ b/ext/openssl/ossl_pkey.c
@@ -35,7 +35,7 @@ const rb_data_type_t ossl_evp_pkey_type = {
{
0, ossl_evp_pkey_free,
},
- 0, 0, RUBY_TYPED_FREE_IMMEDIATELY,
+ 0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
};
static VALUE