diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-08 15:32:23 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-03 18:15:11 +0300 |
commit | 5f96b7abccc8e393c7f5e370ab3bf838dc3f8d4f (patch) | |
tree | a860ba1cc00c9e74c040d60086b57af930b697ec /src/core/or/crypt_path.h | |
parent | 0c5176d00cfe44e645175c23ed48eccbc74b4842 (diff) | |
download | tor-5f96b7abccc8e393c7f5e370ab3bf838dc3f8d4f.tar.gz tor-5f96b7abccc8e393c7f5e370ab3bf838dc3f8d4f.zip |
Hiding crypt_path_t: Move some more init funcs in crypt_path.c.
Everything is moved, but the argument of the function is edited to access
->private->crypto.
Diffstat (limited to 'src/core/or/crypt_path.h')
-rw-r--r-- | src/core/or/crypt_path.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/or/crypt_path.h b/src/core/or/crypt_path.h index fe25d85cfe..a7ebe604f5 100644 --- a/src/core/or/crypt_path.h +++ b/src/core/or/crypt_path.h @@ -12,6 +12,10 @@ void assert_cpath_ok(const crypt_path_t *cp); /* rename */ int onion_append_hop(crypt_path_t **head_ptr, extend_info_t *choice); +int circuit_init_cpath_crypto(crypt_path_t *cpath, + const char *key_data, size_t key_data_len, + int reverse, int is_hs_v3); + /* rename */ void onion_append_to_cpath(crypt_path_t **head_ptr, crypt_path_t *new_hop); |