Ticket #9 (new defect)
default tls certificate verify function broken
| Reported by: | Michael Weiser <michael@…> | Owned by: | jajcus |
|---|---|---|---|
| Priority: | trivial | Component: | pyxmpp |
| Keywords: | tls | Cc: |
Description
When using the default tls certificate verify function, the following exception appears:
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/pyxmpp/streamtls.py", line 376, in tls_default_verify_callback
if ok and not tls_is_certificate_valid(store_context):
It is easily fixed by adding the missing "self." in front of tls_is_certificate_valid on line 376 in streamtls.py.
I experienced the problem with pyxmpp-1.0.0.s20061212.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.