Author christian.heimes
Recipients christian.heimes, ezio.melotti, pitrou
Date 2013-06-18.13:52:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371563566.88.0.884029209542.issue18138@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a simplified version of the C function. It uses y* or es# "ascii" to parse the argument.

The check for trailing data ensures that the user gets an error message if she tries to load a PEM string with multiple certs. She might expect that add_ca_cert(pem) loads all PEM certs from the string while in fact PEM_read_bio_X509() only loads the first cert. The new patch make the check optional.

I still need to find a good name for the option, though...
History
Date User Action Args
2013-06-18 13:52:46christian.heimessetrecipients: + christian.heimes, pitrou, ezio.melotti
2013-06-18 13:52:46christian.heimessetmessageid: <1371563566.88.0.884029209542.issue18138@psf.upfronthosting.co.za>
2013-06-18 13:52:46christian.heimeslinkissue18138 messages
2013-06-18 13:52:46christian.heimescreate