[Help-gnutls] Re: Segfault when loading certificate...

Stjepan Gros sgros.ml at gmail.com
Tue Dec 30 13:07:20 CET 2008

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.


On Mon, Dec 29, 2008 at 10:32 PM, Stjepan Gros <sgros.ml at gmail.com> 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

More information about the Gnutls-help mailing list