diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-09 14:44:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:40:09 -0400 |
commit | 99af260accfc5064ff0c9913b41060794be48507 (patch) | |
tree | fc1ae08e6ca5b84654b5f772d38c75052668a77c /src/or/routerkeys.h | |
parent | 67e66898d2b77940199fe23843e148ab836ff431 (diff) | |
download | tor-99af260accfc5064ff0c9913b41060794be48507.tar.gz tor-99af260accfc5064ff0c9913b41060794be48507.zip |
For testing: function to construct (but not save) Ed keys and certs
Diffstat (limited to 'src/or/routerkeys.h')
-rw-r--r-- | src/or/routerkeys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/routerkeys.h b/src/or/routerkeys.h index be9b19aea8..c2b20b3871 100644 --- a/src/or/routerkeys.h +++ b/src/or/routerkeys.h @@ -73,5 +73,9 @@ int write_encrypted_secret_key(const ed25519_secret_key_t *out, void routerkeys_free_all(void); +#ifdef TOR_UNIT_TESTS +void init_mock_ed_keys(const crypto_pk_t *rsa_identity_key); +#endif + #endif |