You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2021/11/05 10:29:50 UTC
[tomcat] branch main updated: Add new methods from OpenSSL module
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 b1ae8af Add new methods from OpenSSL module
b1ae8af is described below
commit b1ae8aff68a64b3f81bf848452cddbf71eb48eaa
Author: remm <re...@apache.org>
AuthorDate: Fri Nov 5 11:29:30 2021 +0100
Add new methods from OpenSSL module
---
java/org/apache/tomcat/util/buf/Asn1Parser.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/java/org/apache/tomcat/util/buf/Asn1Parser.java b/java/org/apache/tomcat/util/buf/Asn1Parser.java
index e8e5727..436e5ea 100644
--- a/java/org/apache/tomcat/util/buf/Asn1Parser.java
+++ b/java/org/apache/tomcat/util/buf/Asn1Parser.java
@@ -41,6 +41,16 @@ public class Asn1Parser {
}
+ public boolean eof() {
+ return pos == source.length;
+ }
+
+
+ public int peekTag() {
+ return source[pos] & 0xFF;
+ }
+
+
public void parseTag(int tag) {
int value = next();
if (value != tag) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org