Skip to content

Commit 9ce420e

Browse files
committed
no infinite_lenght writer for ASN1::Primitive-s (details at #18)
1 parent 69acdc5 commit 9ce420e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jruby/ext/openssl/ASN1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public static void createASN1(final Ruby runtime, final RubyModule OpenSSL) {
718718
final ObjectAllocator primitiveAllocator = Primitive.ALLOCATOR;
719719
RubyClass Primitive = ASN1.defineClassUnder("Primitive", _ASN1Data, primitiveAllocator);
720720
Primitive.addReadWriteAttribute(context, "tagging");
721-
Primitive.addReadWriteAttribute(context, "infinite_length");
721+
Primitive.addReadAttribute(context, "infinite_length");
722722
Primitive.defineAnnotatedMethods(Primitive.class);
723723

724724
final ObjectAllocator constructiveAllocator = Constructive.ALLOCATOR;

0 commit comments

Comments
 (0)