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:31:26 UTC
[tomcat] branch 9.0.x 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 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 <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