@@ -311,12 +311,12 @@ SSLSocket Objects
311311 name-value pairs::
312312
313313 {'notAfter': 'Feb 16 16:54:50 2013 GMT',
314- 'subject': ((('countryName', u 'US'),),
315- (('stateOrProvinceName', u 'Delaware'),),
316- (('localityName', u 'Wilmington'),),
317- (('organizationName', u 'Python Software Foundation'),),
318- (('organizationalUnitName', u 'SSL'),),
319- (('commonName', u 'somemachine.python.org'),))}
314+ 'subject': ((('countryName', 'US'),),
315+ (('stateOrProvinceName', 'Delaware'),),
316+ (('localityName', 'Wilmington'),),
317+ (('organizationName', 'Python Software Foundation'),),
318+ (('organizationalUnitName', 'SSL'),),
319+ (('commonName', 'somemachine.python.org'),))}
320320
321321 If the ``binary_form `` parameter is :const: `True `, and a
322322 certificate was provided, this method returns the DER-encoded form
@@ -522,20 +522,20 @@ As of September 6, 2007, the certificate printed by this program
522522looked like this::
523523
524524 {'notAfter': 'May 8 23:59:59 2009 GMT',
525- 'subject': ((('serialNumber', u '2497886'),),
526- (('1.3.6.1.4.1.311.60.2.1.3', u 'US'),),
527- (('1.3.6.1.4.1.311.60.2.1.2', u 'Delaware'),),
528- (('countryName', u 'US'),),
529- (('postalCode', u '94043'),),
530- (('stateOrProvinceName', u 'California'),),
531- (('localityName', u 'Mountain View'),),
532- (('streetAddress', u '487 East Middlefield Road'),),
533- (('organizationName', u 'VeriSign, Inc.'),),
525+ 'subject': ((('serialNumber', '2497886'),),
526+ (('1.3.6.1.4.1.311.60.2.1.3', 'US'),),
527+ (('1.3.6.1.4.1.311.60.2.1.2', 'Delaware'),),
528+ (('countryName', 'US'),),
529+ (('postalCode', '94043'),),
530+ (('stateOrProvinceName', 'California'),),
531+ (('localityName', 'Mountain View'),),
532+ (('streetAddress', '487 East Middlefield Road'),),
533+ (('organizationName', 'VeriSign, Inc.'),),
534534 (('organizationalUnitName',
535- u 'Production Security Services'),),
535+ 'Production Security Services'),),
536536 (('organizationalUnitName',
537- u 'Terms of use at www.verisign.com/rpa (c)06'),),
538- (('commonName', u 'www.verisign.com'),))}
537+ 'Terms of use at www.verisign.com/rpa (c)06'),),
538+ (('commonName', 'www.verisign.com'),))}
539539
540540which is a fairly poorly-formed ``subject `` field.
541541
0 commit comments