pyca/cryptography — pull request #1268 by crc32a (2014-07-16 00:39:09+00:00)
Title: Adding binding for void *X509V3_EXT_d2i(X509_EXTENSION *ext);

Can we add bindings for this function so that in pyopenssl we can grab the translated X509 structure according to its extension type. Other wise we have to do cruft like _lib.X509V3_EXT_get(self._extension) to obtain function pointers to the allocation, d2i and invoke those function pointers. It looks like some pyOpenSSL guys are mimicing the method calls made by X509V3_EXT_d2i in absense of it.