summaryrefslogtreecommitdiff
path: root/src/or/torcert.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-21 13:43:34 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-03 08:37:21 -0400
commite23389841c7797615b09ee6457e841b4ed13ea75 (patch)
tree5303cc276c4888567b883f3fec70209a2b5de2fa /src/or/torcert.h
parent4ef42e7c529a95b69d3e830e115e5d0453d38dfb (diff)
downloadtor-e23389841c7797615b09ee6457e841b4ed13ea75.tar.gz
tor-e23389841c7797615b09ee6457e841b4ed13ea75.zip
Migrate certificates into a sub-structure of or_handshake_state
This will help us do cert-checking in the background in the future, perhaps.
Diffstat (limited to 'src/or/torcert.h')
-rw-r--r--src/or/torcert.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/torcert.h b/src/or/torcert.h
index 9c819c0abb..3f81fcdd81 100644
--- a/src/or/torcert.h
+++ b/src/or/torcert.h
@@ -72,5 +72,8 @@ ssize_t tor_make_rsa_ed25519_crosscert(const ed25519_public_key_t *ed_key,
time_t expires,
uint8_t **cert);
+or_handshake_certs_t *or_handshake_certs_new(void);
+void or_handshake_certs_free(or_handshake_certs_t *certs);
+
#endif