Re: SSL.Context.load_verify_locations
Heikki Toivonen <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
Thomas D. Uram wrote: > Strange. I'm using m2crypto-0.13, and I get this: [...] > return m2.ssl_ctx_load_verify_locations(self.ctx, cafile, capath or '') > TypeError: ssl_ctx_load_verify_locations() argument 2 must be string, not None Ah, I'm working on the latest from Subversion, and I fixed that weeks ago. I don't know why that was introduced either. The problem in 0.13 is that last part of the call to m2.ssl_ctx_load_verify_locations - it should say |capath|, not |capath or ''|. > I think re-enabling the cafile/capath assertion makes the most sense. Done. Thanks for the report, -- Heikki Toivonen
signature.asc
(application/pgp-signature, 249 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCp7THb8x8KoP+JuwRAu2yAJ4ruN9CFvu23mgFBUd6Rx20yNjGdgCggTkM A/qr+iPazor87P6Q4I7dZNQ= =U3Uq -----END PGP SIGNATURE-----