Skip to content

Commit

Permalink
tls_tcp: allow secure TLS renegotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianfridrich committed May 15, 2024
1 parent c1e09de commit a985eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls/openssl/tls_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static bool recv_handler(int *err, struct mbuf *mb, bool *estab, void *arg)

if (SSL_state(tc->ssl) != SSL_ST_OK) {

if (tc->up) {
if (tc->up && !SSL_get_secure_renegotiation_support(tc->ssl)) {
*err = EPROTO;
return true;
}
Expand Down

0 comments on commit a985eb0

Please sign in to comment.