This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new df9fa96 Add new methods from OpenSSL module df9fa96 is described below commit df9fa962c1c6dd0f515e641ac5cb9ee0b2082bcf Author: remm <r...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org