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:
Johan Danielsson
1997-07-01 23:52:30 +00:00
parent ae8c2b0909
commit 372881f5ef
14 changed files with 624 additions and 477 deletions

View File

@@ -15,7 +15,7 @@ length_int (unsigned val)
}
size_t
length_len (int len)
length_len (size_t len)
{
if (len < 128)
return 1;