On 12/9/24 17:38, Ilya Maximets wrote:
> SSLv23_method() is deprecated since OpenSSL 1.1.0.  In practice, it is
> just renamed into TLS_method().  Use the new name instead.
> 
> For the python version of the code, we can use PROTOCOL_TLS_CLIENT,
> since we only support client side of the connection.  It turns on
> the hostname check by default, though.  So, we need to turn it off,
> otherwise we would have to provide the server_hostname for every
> wrap_socket.  We would just use generic PROTOCOL_TLS as we do in C,
> but unfortunately PROTOCOL_TLS is deprecated since Python 3.10.
> 
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
>  lib/stream-ssl.c     | 19 ++++++-------------
>  python/ovs/stream.py |  5 +++--
>  2 files changed, 9 insertions(+), 15 deletions(-)

Recheck-request: github-robot

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to