Verified. Applying the patch in #29 results in no segfault:
[Test Case]
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnutls.crypto import X509Certificate, X509PrivateKey
>>>
Verified. Applying the patch in #29 results in no segfault:
[Test Case]
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnutls.crypto import X509Certificate, X509PrivateKey
>>>