Author christian.heimes
Recipients christian.heimes, giampaolo.rodola, gvanrossum, janssen, pitrou
Date 2013-11-22.03:22:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385090544.45.0.828501319408.issue19689@psf.upfronthosting.co.za>
In-reply-to
Content
A few weeks ago I suggested the addition of ssl.create_default_context() to the stdlib. The patch implements my proposal. It replaces code in several of modules with one central function. The patch also removes ssl.wrap_socket() in favor for a SSLContext object.

As soon as #19292 gets accepted I'll add the additional keyword argument "purpose=None" to the arguments of ssl.create_default_context() in order to load the default system certs::
    
    if purpose is not None and verify_mode != CERT_NONE:
        context.load_default_certs(purpose)
History
Date User Action Args
2013-11-22 03:22:24christian.heimessetrecipients: + christian.heimes, gvanrossum, janssen, pitrou, giampaolo.rodola
2013-11-22 03:22:24christian.heimessetmessageid: <1385090544.45.0.828501319408.issue19689@psf.upfronthosting.co.za>
2013-11-22 03:22:24christian.heimeslinkissue19689 messages
2013-11-22 03:22:23christian.heimescreate