Ticket #9 (closed defect: wontfix)

Opened 4 years ago

Last modified 5 months ago

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

pyxmpp-1.0.0.s20061212-defverify.patch Download (0.7 KB) - added by michael@… 4 years ago.

Change History

Changed 4 years ago by michael@…

Changed 5 months ago by jajcus

  • status changed from new to closed
  • resolution set to wontfix

As SSL code has been rewritten this bug is most probably not relevant any more.

Note: See TracTickets for help on using tickets.