aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/connection_or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-19 19:11:49 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-19 19:11:57 -0500
commitdd4fa9b46899855dec66e31a1ebf5164d5cd281c (patch)
tree899fc82c805a3bc57eb4d69b8d707c5c0706b5fe /src/core/or/connection_or.h
parenta65efa7e8378fa470b7312509eecf92aa029817f (diff)
downloadtor-dd4fa9b46899855dec66e31a1ebf5164d5cd281c.tar.gz
tor-dd4fa9b46899855dec66e31a1ebf5164d5cd281c.zip
Extract relay-only handshake code into its own file.
This is not the only relay-only handshake code, but it is most of such code that is in connection_or.c.
Diffstat (limited to 'src/core/or/connection_or.h')
-rw-r--r--src/core/or/connection_or.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/or/connection_or.h b/src/core/or/connection_or.h
index 90b21ad77b..02bc87a864 100644
--- a/src/core/or/connection_or.h
+++ b/src/core/or/connection_or.h
@@ -97,19 +97,6 @@ MOCK_DECL(void,connection_or_write_var_cell_to_buf,(const var_cell_t *cell,
or_connection_t *conn));
int connection_or_send_versions(or_connection_t *conn, int v3_plus);
MOCK_DECL(int,connection_or_send_netinfo,(or_connection_t *conn));
-int connection_or_send_certs_cell(or_connection_t *conn);
-int connection_or_send_auth_challenge_cell(or_connection_t *conn);
-int authchallenge_type_is_supported(uint16_t challenge_type);
-int authchallenge_type_is_better(uint16_t challenge_type_a,
- uint16_t challenge_type_b);
-var_cell_t *connection_or_compute_authenticate_cell_body(
- or_connection_t *conn,
- const int authtype,
- crypto_pk_t *signing_key,
- const struct ed25519_keypair_t *ed_signing_key,
- int server);
-MOCK_DECL(int,connection_or_send_authenticate_cell,
- (or_connection_t *conn, int type));
int is_or_protocol_version_known(uint16_t version);
@@ -144,7 +131,6 @@ MOCK_DECL(STATIC void,connection_or_change_state,
#endif /* defined(CONNECTION_OR_PRIVATE) */
#ifdef TOR_UNIT_TESTS
-extern int certs_cell_ed25519_disabled_for_testing;
extern int testing__connection_or_pretend_TLSSECRET_is_supported;
#endif