aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-03-27 08:26:23 +0000
committerGuy Harris <guy@alum.mit.edu>2000-03-27 08:26:23 +0000
commit0b5adee493e1213ea2eacf78ab2b8bca1b4f85a3 (patch)
tree0209161bc03e69e10a884e21c83b343634c57f58
parent73927243e74356ee055a1b77f0c3a23eb78e7d89 (diff)
Note that we may want to add support for the constructed encoding of
octet strings, as well as the primitive encoding (if we ever run into a protocol where the constructed encoding is allowed). svn path=/trunk/; revision=1751
-rw-r--r--asn1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/asn1.c b/asn1.c
index fc913ebf3d..1be59460a7 100644
--- a/asn1.c
+++ b/asn1.c
@@ -1,7 +1,7 @@
/* asn1.c
* Routines for ASN.1 BER dissection
*
- * $Id: asn1.c,v 1.3 2000/01/15 00:22:29 gram Exp $
+ * $Id: asn1.c,v 1.4 2000/03/27 08:26:23 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -700,6 +700,7 @@ asn1_octet_string_decode ( ASN1_SCK *asn1, guchar **octets, guint *str_len,
if (ret != ASN1_ERR_NOERROR)
goto done;
if (cls != ASN1_UNI || con != ASN1_PRI || tag != ASN1_OTS) {
+ /* XXX - handle the constructed encoding? */
ret = ASN1_ERR_WRONG_TYPE;
goto done;
}
@@ -865,7 +866,7 @@ done:
* (
* ASN1_SCK *asn1,
* guint *seq_len,
- * guint *nbytes,
+ * guint *nbytes
* )
* DESCRIPTION: Decodes header for SEQUENCE.
* Parameters: