mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 22:36:29 +00:00
reds: Check errors returned from SSL_CTX_set_cipher_list
This commit is contained in:
parent
3494eaf938
commit
bcec6627a2
@ -3349,7 +3349,9 @@ static int reds_init_ssl(void)
|
||||
|
||||
SSL_CTX_set_session_id_context(reds->ctx, (const unsigned char *)"SPICE", 5);
|
||||
if (strlen(ssl_parameters.ciphersuite) > 0) {
|
||||
SSL_CTX_set_cipher_list(reds->ctx, ssl_parameters.ciphersuite);
|
||||
if (!SSL_CTX_set_cipher_list(reds->ctx, ssl_parameters.ciphersuite)) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
openssl_thread_setup();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user