diff --git a/util/src/main/java/org/bouncycastle/oer/its/ieee1609dot2/basetypes/EccP256CurvePoint.java b/util/src/main/java/org/bouncycastle/oer/its/ieee1609dot2/basetypes/EccP256CurvePoint.java index 9dcdc6dd31..fa6e4205e4 100644 --- a/util/src/main/java/org/bouncycastle/oer/its/ieee1609dot2/basetypes/EccP256CurvePoint.java +++ b/util/src/main/java/org/bouncycastle/oer/its/ieee1609dot2/basetypes/EccP256CurvePoint.java @@ -165,7 +165,7 @@ else if (encoded[0] == 0x03) choice = compressedY1; } byte[] copy = new byte[encoded.length - 1]; - System.arraycopy(encoded, 0, copy, 0, copy.length); + System.arraycopy(encoded, 1, copy, 0, copy.length); return new EccP256CurvePoint(choice, new DEROctetString(copy)); }