summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-21 14:28:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-03 08:37:22 -0400
commit348b90a915a5867bc0d8888e0fd12e8ec2319628 (patch)
tree3c42aaa4ea9eef11eedfdcd62bf023628e2f9a85 /src/or/or.h
parente94f1b4e0d4b31ed80e2eefb8700f2671817f561 (diff)
downloadtor-348b90a915a5867bc0d8888e0fd12e8ec2319628.tar.gz
tor-348b90a915a5867bc0d8888e0fd12e8ec2319628.zip
Refactor RSA certificate checking into its own function.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index cdde448bc9..5feba28ba0 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1387,8 +1387,12 @@ typedef struct listener_connection_t {
#define V3_AUTH_BODY_LEN (V3_AUTH_FIXED_PART_LEN + 8 + 16)
typedef struct or_handshake_certs_t {
+ /** DOCDOC */
+ int started_here;
/** The cert for the key that's supposed to sign the AUTHENTICATE cell */
tor_x509_cert_t *auth_cert;
+ /** DOCDOC */
+ tor_x509_cert_t *link_cert;
/** A self-signed identity certificate */
tor_x509_cert_t *id_cert;
/** DOCDOC */