Skip to content

Commit 223afea

Browse files
committed
Fixed, relates to GitHub bcgit#2107
1 parent 3512785 commit 223afea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/src/main/java/org/bouncycastle/oer/its/template/ieee1609dot2/IEEE1609dot2.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ public Element result(SwitchIndexer indexer)
259259
* EndEntityType ::= BIT STRING {app (0), enrol (1) } (SIZE (8))
260260
*/
261261
public static final OERDefinition.Builder EndEntityType =
262-
OERDefinition.bitString(8).defaultValue(new DERBitString(new byte[]{0}, 0))
262+
OERDefinition.bitString(8)
263+
.defaultValue(new DERBitString(org.bouncycastle.oer.its.ieee1609dot2.EndEntityType.app))
263264
.typeName("EndEntityType");
264265

265266
/**

0 commit comments

Comments
 (0)