Skip to content

Commit

Permalink
Merge pull request #9185 from nikita-v/ssl/fix_function_clause_error
Browse files Browse the repository at this point in the history
ssl: Fix function_clause error in tls_server_connection_1_3:select_server_cert_key_pair function

OTP-19423
  • Loading branch information
IngelaAndin authored Jan 9, 2025
2 parents 650eaee + ac294e8 commit aa2b747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ssl/src/tls_server_connection_1_3.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa2b747

Please sign in to comment.