New submission from Antoine Pitrou pit...@free.fr:
This patch gives access to the OpenSSL version the _ssl module is linked
against, through three attributes: one gives the raw integer, another the
decoded 5-tuple of ints, the last one the version string as returned by OpenSSL.
--
Antoine Pitrou pit...@free.fr added the comment:
(note: tested with OpenSSL 0.9.8k and 1.0.0)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you please add documentation as well?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file16767/sslversion.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Antoine Pitrou pit...@free.fr added the comment:
New patch with doc.
--
Added file: http://bugs.python.org/file16768/sslversion.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file16768/sslversion.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file16769/sslversion.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:
I was about to open a request for this.
Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
___
Antoine Pitrou pit...@free.fr added the comment:
Committed, with Benjamin's permission, in r79812 (trunk) and r79813 (py3k).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:
import ssl
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/local/lib/python2.7/ssl.py, line 62, in module
from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO,
OPENSSL_VERSION
Antoine Pitrou pit...@free.fr added the comment:
import ssl
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/local/lib/python2.7/ssl.py, line 62, in module
from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO,
OPENSSL_VERSION
ImportError:
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:
The ./configure - make - make install process went fine, or at least, I think
so, as it completed without reporting errors or exiting.
...But maybe I'm doing something wrong as just a little while ago I was
modifying _ssl.c
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:
You were right: make output had an error involving ssl I didn't notice. My bad.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8321
13 matches
Mail list logo