diff --git a/lib/ssl/src/tls_server_connection_1_3.erl b/lib/ssl/src/tls_server_connection_1_3.erl index 8801f00b678..5479eb8a9ee 100644 --- a/lib/ssl/src/tls_server_connection_1_3.erl +++ b/lib/ssl/src/tls_server_connection_1_3.erl @@ -702,7 +702,7 @@ select_server_cert_key_pair(_,[], _,_,_,_, undefined) -> select_server_cert_key_pair(Session, [#{private_key := Key, certs := [Cert| _] = Certs} | Rest], ClientSignAlgs, ClientSignAlgsCert, CertAuths, #state{static_env = #static_env{cert_db = CertDbHandle, - cert_db_ref = CertDbRef} = State}, + cert_db_ref = CertDbRef}} = State, Default0) -> {_, SignAlgo, SignHash, _, _} = tls_handshake_1_3:get_certificate_params(Cert), %% TODO: We do validate the signature algorithm and signature hash