Home
last modified time | relevance | path

Searched refs:SSLError (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_ssl.py359 _ssl.SSLError,
396 self.assertRaises(ssl.SSLError, ssl.RAND_bytes, 16)
681 with self.assertRaises(ssl.SSLError):
1163 with self.assertRaisesRegex(ssl.SSLError, "No cipher can be selected"):
1382 with self.assertRaisesRegex(ssl.SSLError, "PEM lib"):
1384 with self.assertRaisesRegex(ssl.SSLError, "PEM lib"):
1391 with self.assertRaisesRegex(ssl.SSLError, "PEM lib"):
1393 with self.assertRaisesRegex(ssl.SSLError, "PEM lib"):
1395 with self.assertRaisesRegex(ssl.SSLError, "PEM lib"):
1399 with self.assertRaisesRegex(ssl.SSLError, "ke
[all...]
H A Dtest_nntplib.py26 SSLError = ssl.SSLError variable
28 class SSLError(Exception): class
296 except SSLError as ssl_err:
333 except SSLError as ssl_err:
H A Dtest_ftplib.py353 except ssl.SSLError as err:
359 # TODO: SSLError does not expose alert information
373 except ssl.SSLError as err:
408 except ssl.SSLError as err:
418 except ssl.SSLError as err:
957 # "SSLError [SSL] shutdown while in init"
H A Dtest_httplib.py1850 with self.assertRaises(ssl.SSLError) as exc_info:
1896 except ssl.SSLError as ssl_err:
1922 with self.assertRaises(ssl.SSLError) as exc_info:
1931 with self.assertRaises(ssl.SSLError) as exc_info:
H A Dtest_poplib.py183 except ssl.SSLError as err:
189 # TODO: SSLError does not expose alert information
/third_party/python/Lib/
H A Dssl.py12 SSLError -- exception raised for I/O errors
105 SSLError, SSLZeroReturnError, SSLWantReadError, SSLWantWriteError,
547 raise SSLError('NPN protocols must be 1 to 255 in length')
571 raise SSLError('ALPN protocols must be 1 to 255 in length')
1078 notconn_pre_handshake_data_error = SSLError(e.errno, reason)
1079 # Add the SSLError attributes that _ssl.c always adds.
1166 except SSLError as x:
H A Dftplib.py809 all_errors = (Error, OSError, EOFError, ssl.SSLError)
/third_party/python/Lib/test/test_asyncio/
H A Dtest_sslproto.py698 except ssl.SSLError:
734 except ssl.SSLError:
748 with self.assertRaises(ssl.SSLError):
H A Dtest_ssl.py436 except (ssl.SSLError, OSError):
647 except ssl.SSLError:
661 with self.assertRaises(ssl.SSLError):
666 except ssl.SSLError:
H A Dtest_events.py627 with self.assertRaises(ssl.SSLError) as cm:
1044 with self.assertRaisesRegex(ssl.SSLError,
1074 with self.assertRaisesRegex(ssl.SSLError,
/third_party/python/Lib/asyncio/
H A Dsslproto.py560 except ssl.SSLError as exc:
647 except ssl.SSLError as exc:

Completed in 22 milliseconds