Lines Matching refs:ssl_sock
331 PyObject *ssl_sock; member
574 char *server_hostname, PyObject *ssl_sock) in newPySSLSocket() argument
587 self->ssl_sock = NULL; in newPySSLSocket()
667 if (ssl_sock != Py_None) { in newPySSLSocket()
668 self->ssl_sock = PyWeakref_NewRef(ssl_sock, NULL); in newPySSLSocket()
669 if (self->ssl_sock == NULL) { in newPySSLSocket()
1679 Py_XDECREF(self->ssl_sock); in PySSL_dealloc()
3105 PyObject *hostname_obj, *ssl_sock = Py_None, *res; in context_wrap_socket() local
3113 &ssl_sock)) { in context_wrap_socket()
3118 "idna", &hostname, &ssl_sock)) in context_wrap_socket()
3123 hostname, ssl_sock); in context_wrap_socket()
3239 if (ssl->ssl_sock == NULL) { in _servername_callback()
3242 ssl_socket = PyWeakref_GetObject(ssl->ssl_sock); in _servername_callback()