Skip to content

Commit d89f28c

Browse files
store and store context: shareable when frozen
1 parent c69531c commit d89f28c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ext/openssl/ossl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#else
2323
#define RUBY_TYPED_FROZEN_SHAREABLE 0
2424
#endif
25-
2625
#include <openssl/opensslv.h>
2726

2827
#include <openssl/err.h>

ext/openssl/ossl_x509store.c

Lines changed: 1 addition & 1 deletion
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
/*

0 commit comments

Comments
 (0)