how to send arbitrary data in supplemental data message
nmav at gnutls.org
Sun May 30 13:05:57 CEST 2010
LATZE Carolin wrote:
> Hi everybody,
> I ran again into problems with the supplemental data messages. I tried to copy a certificate into the buffer of type gnutls_buffer and do not manage to send all 1314 bytes of the certificate. Instead it sends only 41 bytes. I tried it with another certificate which resulted in 65 bytes sent. This is pretty strange. I expected the buffer to stop at a \0 character in the signature, but that does not seem to be the case since strlen of the original data results in the correct length of 1314. Any ideas?
> In order to simplify debugging, I copied my gnutls version including the tls-tpm extension (not finished yet, but does not cause crashes :-)) onto a server:
> Furthermore, I uploaded my little sample program as well:
> I would be happy for any hints or ideas since I am clueless at the moment.
Could you use debugging output with
Level 2 should be sufficient.
More information about the Gnutls-help