This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 227e039ac7 Fix cut and paste abuse
227e039ac7 is described below
commit 227e039ac775a3597d742f77e64799f95004b7db
Author: remm <[email protected]>
AuthorDate: Thu Sep 11 12:04:20 2025 +0200
Fix cut and paste abuse
---
.../tomcat/util/net/openssl/ciphers/SignatureScheme.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
b/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
index d5df3f72fa..68e1caa8a7 100644
--- a/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
+++ b/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
@@ -79,17 +79,17 @@ public enum SignatureScheme {
private static final Map<Integer,SignatureScheme> idMap = new HashMap<>();
static {
- for (SignatureScheme group : values()) {
- int id = group.getId();
+ for (SignatureScheme scheme : values()) {
+ int id = scheme.getId();
if (id > 0 && id < 0xFFFF) {
- idMap.put(Integer.valueOf(id), group);
+ idMap.put(Integer.valueOf(id), scheme);
}
}
}
- public static SignatureScheme valueOf(int groupId) {
- return idMap.get(Integer.valueOf(groupId));
+ public static SignatureScheme valueOf(int schemeId) {
+ return idMap.get(Integer.valueOf(schemeId));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]