[Redbutton-devel] SF.net SVN: redbutton: [414] redbutton-author/trunk/der_encode.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-09-22 18:35:43
|
Revision: 414
http://redbutton.svn.sourceforge.net/redbutton/?rev=414&view=rev
Author: skilvington
Date: 2007-09-22 11:35:40 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
OCTET STRINGs could be 0 length
Modified Paths:
--------------
redbutton-author/trunk/der_encode.c
Modified: redbutton-author/trunk/der_encode.c
===================================================================
--- redbutton-author/trunk/der_encode.c 2007-09-22 18:16:46 UTC (rev 413)
+++ redbutton-author/trunk/der_encode.c 2007-09-22 18:35:40 UTC (rev 414)
@@ -237,9 +237,6 @@
}
else
{
- /* assert */
- if(n->length == 0 && !(n->asn1tag == ASN1TAG_NULL && n->asn1class == ASN1CLASS_UNIVERSAL))
- fatal("Type [%s %u] has 0 length", asn1class_name(n->asn1class), n->asn1tag);
val_length = n->length;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|