gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnutls_hex_encode inconsistency


From: John Brooks
Subject: gnutls_hex_encode inconsistency
Date: Sun, 25 Jan 2009 17:29:51 -0700

Just a quick little bug here - gnutls_hex_encode, according to the documentation (and convention), will copy the output size to size_t *result_size, but does not actually do so. This leaves no way (other than manually doing the math) to get the exact output size of this function. Threw me off a little when I had a couple hundred bytes of garbage afterwards :P

Thanks,
  - John Brooks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]