Author christian.heimes
Recipients brett.cannon, christian.heimes, pitrou
Date 2013-06-05.16:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370448946.41.0.405701597318.issue18143@psf.upfronthosting.co.za>
In-reply-to
Content
Sure! I can add SimpleNamespace.

The C function returns four elements:

 * environment var that is used to look up the path to a CA cert file
 * path to a CA cert file
 * environment var that is used to look up the path to a CA cert directory
 * path to a CA cert directory

SSLContext.set_default_verify_paths() is unable to return information if it was able to load any CA certs. With get_default_verify_paths() a developer is able to debug which file or directory is used by OpenSSL. The code is based on OpenSSL's X509_STORE_set_default_paths(). If you want to read up on it:

http://cvs.openssl.org/fileview?f=openssl/crypto/x509/x509_d2.c&v=1.7
http://cvs.openssl.org/fileview?f=openssl/crypto/x509/x509_def.c&v=1.5
http://cvs.openssl.org/fileview?f=openssl/crypto/x509/by_file.c&v=1.12.4.4
History
Date User Action Args
2013-06-05 16:15:46christian.heimessetrecipients: + christian.heimes, brett.cannon, pitrou
2013-06-05 16:15:46christian.heimessetmessageid: <1370448946.41.0.405701597318.issue18143@psf.upfronthosting.co.za>
2013-06-05 16:15:46christian.heimeslinkissue18143 messages
2013-06-05 16:15:46christian.heimescreate