Commit fd18f149 authored by Denis Bilenko's avatar Denis Bilenko

socket: do not use deprecated function in ssl_listener

parent e5da8de1
......@@ -643,7 +643,7 @@ def ssl_listener(address, private_key, certificate):
"""
r = _socket.socket()
sock = wrap_ssl000(r, private_key, certificate)
socket_bind_and_listen(sock, address)
bind_and_listen(sock, address)
return sock
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment