mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-08-11 12:15:44 +00:00
tls: log failure to apply TLS 1.3 ciphers
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
61cf96bed7
commit
34f20af260
@ -1916,7 +1916,10 @@ sub new {
|
||||
|
||||
$self->{tls_ctx} = AnyEvent::TLS->new(%{$self->{ssl}});
|
||||
Net::SSLeay::CTX_set_options($self->{tls_ctx}->{ctx}, $tls_ctx_flags);
|
||||
Net::SSLeay::CTX_set_ciphersuites($self->{tls_ctx}->{ctx}, $ciphersuites) if defined($ciphersuites);
|
||||
if (defined($ciphersuites)) {
|
||||
warn "Failed to set TLS 1.3 ciphersuites '$ciphersuites'\n"
|
||||
if !Net::SSLeay::CTX_set_ciphersuites($self->{tls_ctx}->{ctx}, $ciphersuites);
|
||||
}
|
||||
}
|
||||
|
||||
if ($self->{spiceproxy}) {
|
||||
|
Loading…
Reference in New Issue
Block a user