Skip to content

Commit 4fd2f21

Browse files
store and store context: shareable when frozen
1 parent 105d022 commit 4fd2f21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/openssl/ossl_x509store.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static const rb_data_type_t ossl_x509store_type = {
133133
{
134134
ossl_x509store_mark, ossl_x509store_free,
135135
},
136-
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
136+
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED | RUBY_TYPED_FROZEN_SHAREABLE,
137137
};
138138

139139
/*
@@ -551,7 +551,7 @@ static const rb_data_type_t ossl_x509stctx_type = {
551551
{
552552
ossl_x509stctx_mark, ossl_x509stctx_free,
553553
},
554-
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
554+
0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED | RUBY_TYPED_FROZEN_SHAREABLE,
555555
};
556556

557557
static VALUE

0 commit comments

Comments
 (0)