summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-22 00:51:30 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-22 00:51:30 (GMT)
commit44109d7de7f24b681c973880aa3e1d39042078fd (patch)
treefb012b20f74b2bd6898154bf2055e355b4b85a2d /Lib/ssl.py
parentd06289254280f55536a765b1b5c36e6160b6c8e6 (diff)
downloadcpython-44109d7de7f24b681c973880aa3e1d39042078fd.zip
cpython-44109d7de7f24b681c973880aa3e1d39042078fd.tar.gz
cpython-44109d7de7f24b681c973880aa3e1d39042078fd.tar.bz2
Issue #17134: Finalize interface to Windows' certificate store. Cert and
CRL enumeration are now two functions. enum_certificates() also returns purpose flags as set of OIDs.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 7ce097f..d4c7bad 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -144,7 +144,7 @@ else:
_PROTOCOL_NAMES[PROTOCOL_TLSv1_2] = "TLSv1.2"
if sys.platform == "win32":
- from _ssl import enum_cert_store, X509_ASN_ENCODING, PKCS_7_ASN_ENCODING
+ from _ssl import enum_certificates, enum_crls
from socket import getnameinfo as _getnameinfo
from socket import socket, AF_INET, SOCK_STREAM, create_connection