From 084c3fc9d6dd02dc86dc16d99f2d2476c50bbbec Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 11 May 2012 21:58:30 +0000
Subject: [PATCH] Fix OPENDJ-482: Validation for the CertificateSyntax

---
 opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelReader.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelReader.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelReader.java
index baa94ad..e981fb5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelReader.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelReader.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
- *      Portions copyright 2011 ForgeRock AS.
+ *      Portions copyright 2011-2012 ForgeRock AS.
  */
 package org.opends.server.protocols.asn1;
 
@@ -405,6 +405,13 @@
   /**
    * {@inheritDoc}
    */
+  public void readEndExplicitTag() throws ASN1Exception {
+    reader.readEndExplicitTag();
+  }
+
+  /**
+   * {@inheritDoc}
+   */
   public void readEndSequence() throws ASN1Exception {
     reader.readEndSequence();
   }
@@ -468,6 +475,13 @@
   /**
    * {@inheritDoc}
    */
+  public void readStartExplicitTag() throws ASN1Exception {
+    reader.readStartExplicitTag();
+  }
+
+  /**
+   * {@inheritDoc}
+   */
   public void readStartSequence() throws ASN1Exception {
     reader.readStartSequence();
   }

--
Gitblit v1.10.0