diff options
author | Neel Chauhan <neel@neelc.org> | 2016-11-09 20:01:26 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-10 11:00:50 -0500 |
commit | 9f74f8f732113ff1c63ed971e13229c523ed5a51 (patch) | |
tree | 42dfe33898fbf2632174a2a7e1aa33c82b0d9970 /src/or/torcert.h | |
parent | 0980787f91cfc420f02dead3fea99882ab8c2ada (diff) | |
download | tor-9f74f8f732113ff1c63ed971e13229c523ed5a51.tar.gz tor-9f74f8f732113ff1c63ed971e13229c523ed5a51.zip |
Move encode_cert to torcert.c and rename it to tor_cert_encode_ed22519()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/torcert.h')
-rw-r--r-- | src/or/torcert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/torcert.h b/src/or/torcert.h index 4bd816f4a4..090f6b5811 100644 --- a/src/or/torcert.h +++ b/src/or/torcert.h @@ -98,5 +98,7 @@ void or_handshake_certs_check_both(int severity, const ed25519_public_key_t **ed_id_out, const common_digests_t **rsa_id_out); +int tor_cert_encode_ed22519(const tor_cert_t *cert, char **cert_str_out); + #endif |