8313226: Redundant condition test in X509CRLImpl

Reviewed-by: jnimeh
This commit is contained in:
John Jiang 2023-08-01 22:35:27 +00:00
parent dc14247077
commit 28be34c1b9

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -233,8 +233,7 @@ public class X509CRLImpl extends X509CRL implements DerEncoder {
// revokedCertificates (optional)
nextByte = (byte)derStrm.peekByte();
if ((nextByte == DerValue.tag_SequenceOf)
&& (! ((nextByte & 0x0c0) == 0x080))) {
if ((nextByte == DerValue.tag_SequenceOf)) {
DerValue[] badCerts = derStrm.getSequence(4);
X500Principal crlIssuer = getIssuerX500Principal();