blob: 35555edac1c4ee1cfa3abaaee4dd13470ecd4ffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
from __future__ import absolute_import
try:
# cPython >= 2.7.9 has ssl features backported from Python3
from ssl import CertificateError
del CertificateError
import ssl as ssl_match_hostname
except ImportError:
from . import ssl_match_hostname
__all__ = ('ssl_match_hostname', )
|