Determining version of OpenSSL

Adam Mercer ramercer at gmail.com
Mon Apr 4 16:44:27 EDT 2011


Hi

I'm trying to determine the version of OpenSSL that a given python is
compiled against, with python2.7 I can do this with:

import ssl
ssl.OPENSSL_VERSION

is there a way that this can be done in python2.4? It's annoying but I
need to support python2.4 for a while yet :-(

Cheers

Adam



More information about the Python-list mailing list