diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-05-16 12:09:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:37:21 -0400 |
commit | 2bf655394942e5b76944df92c8cd002fc15d3382 (patch) | |
tree | 32c6e40e52784160a9b79c1ce969d50ff56c8b81 /src/or/connection_or.h | |
parent | b004ff45d7f637675be976737eb7efea8da5b49c (diff) | |
download | tor-2bf655394942e5b76944df92c8cd002fc15d3382.tar.gz tor-2bf655394942e5b76944df92c8cd002fc15d3382.zip |
Code to send correct authentication data when we are using AUTHTYPE>2
Implements the major part of 19156, except doesn't actually send the
new cell type yet.
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 2e8c6066cc..8373ed92f0 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -85,9 +85,11 @@ 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 connection_or_compute_authenticate_cell_body(or_connection_t *conn, - uint8_t *out, size_t outlen, - crypto_pk_t *signing_key, - int server); + uint8_t *out, size_t outlen, + const int authtype, + crypto_pk_t *signing_key, + ed25519_keypair_t *ed_signing_key, + int server); MOCK_DECL(int,connection_or_send_authenticate_cell, (or_connection_t *conn, int type)); |