Skip to content

Commit 3b9690d

Browse files
committed
Merge branch 'maint'
2 parents 47995db + 25f65aa commit 3b9690d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ssl/src/tls_dtls_server_connection.erl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ certify(internal, #certificate{asn1_certificates = []},
148148
certify(internal, #certificate{asn1_certificates = []},
149149
#state{static_env = #static_env{role = server,
150150
protocol_cb = Connection},
151-
handshake_env = HsEnv0,
151+
handshake_env = #handshake_env{client_certificate_status = requested} = HsEnv0,
152152
ssl_options = #{verify := verify_peer,
153153
fail_if_no_peer_cert := false}} =
154154
State0) ->
@@ -165,7 +165,8 @@ certify(internal, #certificate{asn1_certificates = DerCerts},
165165
cert_db = CertDbHandle,
166166
cert_db_ref = CertDbRef,
167167
crl_db = CRLDbInfo},
168-
handshake_env = #handshake_env{stapling_state = StaplingState} = HsEnv0,
168+
handshake_env = #handshake_env{client_certificate_status = requested,
169+
stapling_state = StaplingState} = HsEnv0,
169170
connection_env = #connection_env{
170171
negotiated_version = Version},
171172
ssl_options = Opts} = State0) ->

0 commit comments

Comments
 (0)