Well, sorry for the false alarm. I mistakenly assumed if I'm not using TLS then there is no need for the initialization of the library and thus I didn't call the gnutls_global_init() function.
SG On Mon, Dec 29, 2008 at 10:32 PM, Stjepan Gros <[email protected]> wrote: > Hi all, > > before I go and fill a bug report I want to check if I'm doing > something wrong here. Attached is a simple C program I wrote (based on > the examples in the documentation) whose only purpose is to load a > certificate. While trying to use this program on the attached > certificate, the program segfaults and gdb shows that the segfault > happened in the asn1_der_decoding function. > > Does anyone has a suggestion where I might be wrong? BTW, I'm using > gnutls shipped with Fedora 10. > > I'm speculating that the problem might be the use of UTF-8 character > set in the certificate, but I'm not certain. > > Thanks for help, > SG > _______________________________________________ Help-gnutls mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnutls
