Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ssl.py23 ssl = test_support.import_module("ssl") variable
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
56 if hasattr(ssl, 'PROTOCOL_SSLv2'):
69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None)
70 except ssl.SSLError as e:
71 if (ssl.OPENSSL_VERSION_INFO == (0, 9, 8, 15, 15) and
85 ssl.PROTOCOL_SSLv23
86 ssl.PROTOCOL_SSLv3
87 ssl.PROTOCOL_TLSv1
[all …]
Dtest_ftplib.py14 import ssl
16 ssl = None variable
257 if ssl is not None:
268 self.socket = ssl.wrap_socket(self.socket, suppress_ragged_eofs=False,
271 ssl_version=ssl.PROTOCOL_SSLv23)
277 except ssl.SSLError, err:
278 if err.args[0] in (ssl.SSL_ERROR_WANT_READ,
279 ssl.SSL_ERROR_WANT_WRITE):
281 elif err.args[0] == ssl.SSL_ERROR_EOF:
294 except ssl.SSLError, err:
[all …]
Dtest_imaplib.py17 import ssl
19 ssl = None variable
37 if ssl:
43 connstream = ssl.wrap_socket(newsocket,
174 @unittest.skipUnless(ssl, "SSL not available")
210 @unittest.skipUnless(ssl, "SSL not available")
224 if ssl:
Dtest_poplib.py225 import ssl
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
247 except ssl.SSLError, err:
248 if err.args[0] in (ssl.SSL_ERROR_WANT_READ,
249 ssl.SSL_ERROR_WANT_WRITE):
251 elif err.args[0] == ssl.SSL_ERROR_EOF:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_ssl.c119 SSL* ssl; member
168 if (obj->ssl != NULL) { in PySSL_SetError()
169 err = SSL_get_error(obj->ssl, ret); in PySSL_SetError()
281 self->ssl = NULL; in newPySSLObject()
384 self->ssl = SSL_new(self->ctx); /* New ssl struct */ in newPySSLObject()
386 SSL_set_fd(self->ssl, Sock->sock_fd); /* Set the socket for SSL */ in newPySSLObject()
388 SSL_set_mode(self->ssl, SSL_MODE_AUTO_RETRY); in newPySSLObject()
396 BIO_set_nbio(SSL_get_rbio(self->ssl), 1); in newPySSLObject()
397 BIO_set_nbio(SSL_get_wbio(self->ssl), 1); in newPySSLObject()
402 SSL_set_connect_state(self->ssl); in newPySSLObject()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/
DInstall.cmd69 copy ssl\ssl.h ..\..\..\Include\openssl
70 copy ssl\ssl2.h ..\..\..\Include\openssl
71 copy ssl\ssl3.h ..\..\..\Include\openssl
72 copy ssl\ssl23.h ..\..\..\Include\openssl
73 copy ssl\tls1.h ..\..\..\Include\openssl
74 copy ssl\dtls1.h ..\..\..\Include\openssl
75 copy ssl\kssl.h ..\..\..\Include\openssl
76 copy ssl\srtp.h ..\..\..\Include\openssl
DInstall.sh71 cp ssl/ssl.h ../../../Include/openssl
72 cp ssl/ssl2.h ../../../Include/openssl
73 cp ssl/ssl3.h ../../../Include/openssl
74 cp ssl/ssl23.h ../../../Include/openssl
75 cp ssl/tls1.h ../../../Include/openssl
76 cp ssl/dtls1.h ../../../Include/openssl
77 cp ssl/kssl.h ../../../Include/openssl
78 cp ssl/srtp.h ../../../Include/openssl
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dftplib.py585 import ssl
622 ssl_version = ssl.PROTOCOL_TLSv1
632 if secure and not isinstance(self.sock, ssl.SSLSocket):
638 if isinstance(self.sock, ssl.SSLSocket):
640 if self.ssl_version == ssl.PROTOCOL_TLSv1:
644 self.sock = ssl.wrap_socket(self.sock, self.keyfile, self.certfile,
676 conn = ssl.wrap_socket(conn, self.keyfile, self.certfile,
690 if isinstance(conn, ssl.SSLSocket):
713 if isinstance(conn, ssl.SSLSocket):
730 if isinstance(conn, ssl.SSLSocket):
[all …]
Dpoplib.py312 import ssl
352 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
Dsmtplib.py163 import ssl
631 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile)
773 new_socket = ssl.wrap_socket(new_socket, self.keyfile, self.certfile)
Dsocket.py58 def ssl(sock, keyfile=None, certfile=None): function
61 import ssl as _realssl
Dhttplib.py1133 import ssl
1158 self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
1369 import ssl
Dimaplib.py1126 import ssl
1160 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
1199 def ssl(self): member in IMAP4_SSL
Durllib.py100 import ssl
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/
Dget-remote-certificate.py13 import re, tempfile, os, ssl
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsocket.py58 def ssl(sock, keyfile=None, certfile=None): function
61 import ssl as _realssl
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/
DREADME595 #SSL=/usr/local/ssl
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/
DREADME602 #SSL=/usr/local/ssl