diff options
author | teor <teor@torproject.org> | 2019-02-18 17:37:47 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-02-19 21:44:41 +1000 |
commit | 8e5df40018acd0bd80626073b16b6cc070129109 (patch) | |
tree | bd2cac406762ab234c455a98de1713077dba119f /src/feature/relay/routerkeys.h | |
parent | 7a2c8dadedcb3b17195111fee7aa91695d6bf6bb (diff) | |
download | tor-8e5df40018acd0bd80626073b16b6cc070129109.tar.gz tor-8e5df40018acd0bd80626073b16b6cc070129109.zip |
test_dir: Test rsa + ed25519 extrainfo creation and parsing
Also fix a missing mock in rsa-only parsing.
Diffstat (limited to 'src/feature/relay/routerkeys.h')
-rw-r--r-- | src/feature/relay/routerkeys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/routerkeys.h b/src/feature/relay/routerkeys.h index 0badd34191..cde07b52c3 100644 --- a/src/feature/relay/routerkeys.h +++ b/src/feature/relay/routerkeys.h @@ -7,8 +7,8 @@ #include "lib/crypt_ops/crypto_ed25519.h" const ed25519_public_key_t *get_master_identity_key(void); -const ed25519_keypair_t *get_master_signing_keypair(void); -const struct tor_cert_st *get_master_signing_key_cert(void); +MOCK_DECL(const ed25519_keypair_t *, get_master_signing_keypair,(void)); +MOCK_DECL(const struct tor_cert_st *, get_master_signing_key_cert,(void)); const ed25519_keypair_t *get_current_auth_keypair(void); const struct tor_cert_st *get_current_link_cert_cert(void); |