diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-08-23 16:09:42 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-08-23 16:09:42 -0400 |
commit | 6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2 (patch) | |
tree | 33e99aa13d21d02d16f0d71583dc6528c43519f8 /OpenSSL/crypto/x509.c | |
parent | 54cc3906ad27da084d2c6409cf1c630c9af39ede (diff) | |
parent | 9af07b07df4b5b48eab7cecde557a982f3cb2adb (diff) | |
download | pyopenssl-baserock/morph.tar.gz |
Merge the fix for NUL byte handling in subjectAltName when rendering an X509Extension as a string.baserock/morph
Diffstat (limited to 'OpenSSL/crypto/x509.c')
-rw-r--r-- | OpenSSL/crypto/x509.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSSL/crypto/x509.c b/OpenSSL/crypto/x509.c index 4329ddb..8ee4bff 100644 --- a/OpenSSL/crypto/x509.c +++ b/OpenSSL/crypto/x509.c @@ -758,6 +758,7 @@ crypto_X509_get_extension(crypto_X509Obj *self, PyObject *args) { extobj = PyObject_New(crypto_X509ExtensionObj, &crypto_X509Extension_Type); extobj->x509_extension = X509_EXTENSION_dup(ext); + extobj->dealloc = 1; return (PyObject*)extobj; } |