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:
@@ -15,7 +15,7 @@ length_int (unsigned val)
|
||||
}
|
||||
|
||||
size_t
|
||||
length_len (int len)
|
||||
length_len (size_t len)
|
||||
{
|
||||
if (len < 128)
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user