[Redbutton-devel] SF.net SVN: redbutton: [460] redbutton-author/trunk
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-11-09 16:48:51
|
Revision: 460
http://redbutton.svn.sourceforge.net/redbutton/?rev=460&view=rev
Author: skilvington
Date: 2007-11-09 08:48:47 -0800 (Fri, 09 Nov 2007)
Log Message:
-----------
stop :ContentRef including the OCTET-STRING tag as part of its value
Modified Paths:
--------------
redbutton-author/trunk/TODO
redbutton-author/trunk/ccc.y
Modified: redbutton-author/trunk/TODO
===================================================================
--- redbutton-author/trunk/TODO 2007-11-09 16:38:42 UTC (rev 459)
+++ redbutton-author/trunk/TODO 2007-11-09 16:48:47 UTC (rev 460)
@@ -16,11 +16,5 @@
---
-mhegd
-:ContentRef ContentReference keeps the tag as part of the OctetString
-(eg enh_gateway.mhg)
-
----
-
clean up ccc.y
Modified: redbutton-author/trunk/ccc.y
===================================================================
--- redbutton-author/trunk/ccc.y 2007-11-09 16:38:42 UTC (rev 459)
+++ redbutton-author/trunk/ccc.y 2007-11-09 16:48:47 UTC (rev 460)
@@ -836,7 +836,8 @@
if(item->type != IT_IDENTIFIER)
fatal("Primitive but not Identifier");
/* does it need an extra explicit tag for the primitive type? */
- if(asn1tagclass(name) != asn1tagclass(item->name))
+ if(!is_synthetic(asn1tagclass(name))
+ && asn1tagclass(name) != asn1tagclass(item->name))
{
/* no explicit primitive tag */
buf_append(&state.decode_fns, "\tif((sublen = der_decode_%s(der, out, length)) < 0)\n", item->name);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|