Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] ASN.1 BitString pad bits being out of range
has been surfacing on CI a few times as: ``` Java::JavaLang::IllegalArgumentException: pad bits cannot be greater than 7 or less than 0 org.bouncycastle.asn1.ASN1BitString.<init>(Unknown Source) org.bouncycastle.asn1.DERBitString.<init>(Unknown Source) org.jruby.ext.openssl.ASN1$Primitive.toASN1Primitive(ASN1.java:1687) org.jruby.ext.openssl.ASN1$Primitive.toASN1(ASN1.java:1620) org.jruby.ext.openssl.ASN1$Constructive.addEntry(ASN1.java:1991) org.jruby.ext.openssl.ASN1$Constructive.toASN1EncodableVector(ASN1.java:1955) org.jruby.ext.openssl.ASN1$Constructive.toASN1(ASN1.java:1838) org.jruby.ext.openssl.ASN1$Constructive.addEntry(ASN1.java:1994) org.jruby.ext.openssl.ASN1$Constructive.toASN1EncodableVector(ASN1.java:1955) org.jruby.ext.openssl.ASN1$Constructive.toASN1(ASN1.java:1838) org.jruby.ext.openssl.ASN1$ASN1Data.toDER(ASN1.java:1421) ```
- Loading branch information