libtasn1, asn1_read_value, and truncation

Jeffrey Walton noloader at
Fri Nov 26 06:57:44 CET 2010

Hi All,

How does one detect if/when libtasn1 truncates the value during
asn1_read_value. It is not clear to me from the online documentation

Should GnuTLS infer truncation *if* the reported length of the value
(from asn1_read_value) is the same as the size of the buffer? (The
strategy is similar to interpreting return values from snprintf).


More information about the Gnutls-devel mailing list