mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8258828: The method local variable is not really used
Reviewed-by: jnimeh, wetmore
This commit is contained in:
parent
0ae78d4cd0
commit
47c9b437af
1 changed files with 3 additions and 9 deletions
|
@ -462,16 +462,10 @@ final class SignatureAlgorithmsExtension {
|
|||
// Parse the extension.
|
||||
SignatureSchemesSpec spec = new SignatureSchemesSpec(chc, buffer);
|
||||
|
||||
List<SignatureScheme> knownSignatureSchemes = new LinkedList<>();
|
||||
for (int id : spec.signatureSchemes) {
|
||||
SignatureScheme ss = SignatureScheme.valueOf(id);
|
||||
if (ss != null) {
|
||||
knownSignatureSchemes.add(ss);
|
||||
}
|
||||
}
|
||||
|
||||
// Update the context.
|
||||
// chc.peerRequestedSignatureSchemes = knownSignatureSchemes;
|
||||
//
|
||||
// Note: the chc.peerRequestedSignatureSchemes will be updated
|
||||
// in the CRSignatureSchemesUpdate.consume() implementation.
|
||||
chc.handshakeExtensions.put(
|
||||
SSLExtension.CR_SIGNATURE_ALGORITHMS, spec);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue