Now all decode_* and encode_* functions now take a final size_t*
argument, that they return the size in. Return values are zero for success, and anything else (such as some ASN1_* constant) for error. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1951 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -276,12 +276,16 @@ generate_type (Symbol *s)
|
||||
fprintf (codefile,
|
||||
"/* Generated from %s */\n"
|
||||
"/* Do not edit */\n\n"
|
||||
"#include \"libasn1.h\"\n\n"
|
||||
#if 0
|
||||
"#include <stdio.h>\n"
|
||||
"#include <stdlib.h>\n"
|
||||
"#include <time.h>\n"
|
||||
"#include <" STEM ".h>\n\n"
|
||||
"#include <der.h>\n",
|
||||
orig_filename);
|
||||
"#include <asn1_err.h>\n"
|
||||
"#include <der.h>\n"
|
||||
#endif
|
||||
,orig_filename);
|
||||
generate_type_header (s);
|
||||
generate_type_encode (s);
|
||||
generate_type_decode (s);
|
||||
|
Reference in New Issue
Block a user