mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-08 21:14:11 +00:00
Update OpenSSL call
SSLv23_method call was deprecated in favour of TLS_method. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
9213308fd3
commit
e625a10a7a
@ -2817,8 +2817,7 @@ static int reds_init_ssl(RedsState *reds)
|
||||
openssl_global_init();
|
||||
|
||||
/* Create our context*/
|
||||
/* SSLv23_method() handles TLSv1.x in addition to SSLv2/v3 */
|
||||
ssl_method = SSLv23_method();
|
||||
ssl_method = TLS_method();
|
||||
reds->ctx = SSL_CTX_new(ssl_method);
|
||||
if (!reds->ctx) {
|
||||
spice_warning("Could not allocate new SSL context");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user