Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl: Fix function_clause error in tls_server_connection_1_3:select_server_cert_key_pair function #9185

Open
wants to merge 1 commit into
base: maint
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading