aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2023-11-02 14:38:43 -0400
committerDavid Goulet <dgoulet@torproject.org>2023-11-03 08:52:38 -0400
commit7aa496a2e057bb7c3cc284a04a1a4d2941c304f1 (patch)
tree95410b0f0a3e11175e3540a1e1235b1c7e5cf3d7 /src/feature
parentd7777c121c93e4155236e8334bb12bec575ad8b6 (diff)
downloadtor-7aa496a2e057bb7c3cc284a04a1a4d2941c304f1.tar.gz
tor-7aa496a2e057bb7c3cc284a04a1a4d2941c304f1.zip
Fix TROVE-2023-004: Remote crash when compiled against OpenSSL
Fixes #40874 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/relay/relay_handshake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/relay/relay_handshake.c b/src/feature/relay/relay_handshake.c
index be7dba721a..75546cdd90 100644
--- a/src/feature/relay/relay_handshake.c
+++ b/src/feature/relay/relay_handshake.c
@@ -414,6 +414,7 @@ connection_or_compute_authenticate_cell_body(or_connection_t *conn,
log_fn(LOG_PROTOCOL_WARN, LD_OR, "Somebody asked us for an older TLS "
"authentication method (AUTHTYPE_RSA_SHA256_TLSSECRET) "
"which we don't support.");
+ goto err;
}
} else {
char label[128];