pyOpenSSL needs the OpenSSL function X509_EXTENSION_dup, so this commit adds that to the compatibility layer. It also needs to be able to access the DER encoding of the subject alt names in a cert, so that's added as well.
pyOpenSSL needs the OpenSSL function X509_EXTENSION_dup, so this commit adds that to the compatibility layer. It also needs to be able to access the DER encoding of the subject alt names in a cert, so that's added as well.