Skip to content

Commit 81b4d85

Browse files
committed
Fix TimestampClientHttpTest for Bouncy Castle 1.85
Update expected error message to match Bouncy Castle 1.85's hardened ASN.1 parsing. TAG=agy CONV=34327f37-2d6d-4892-b442-ac8e71a7f8eb Signed-off-by: Appu <appu@google.com>
1 parent 561d9ce commit 81b4d85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sigstore-java/src/test/java/dev/sigstore/timestamp/client/TimestampClientHttpTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void timestamp_failure_responseBodyReadError() throws Exception {
189189
client.timestamp(tsReq);
190190
});
191191
assertEquals(
192-
"Timestamp response validation or parsing failed: unknown tag 0 encountered",
192+
"Timestamp response validation or parsing failed: corrupted stream - out of bounds length found: 105 > 101",
193193
tse.getMessage());
194194
}
195195
}

0 commit comments

Comments
 (0)