mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8313226: Redundant condition test in X509CRLImpl
Reviewed-by: jnimeh
This commit is contained in:
parent
dc14247077
commit
28be34c1b9
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue