diff options
author | Roger Dingledine <arma@torproject.org> | 2011-10-31 04:33:38 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2011-10-31 04:33:38 -0400 |
commit | be1f3a5eb596730cbb321c525a92ceb0a8178128 (patch) | |
tree | 2a9c4b30e5212a64c00cf4d6d435612b91e753c0 /src/or/or.h | |
parent | c58f4a86521d3d222d60787d63f6040f73a4c054 (diff) | |
download | tor-be1f3a5eb596730cbb321c525a92ceb0a8178128.tar.gz tor-be1f3a5eb596730cbb321c525a92ceb0a8178128.zip |
normalize the name of the CERTS cell
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h index e4f9b9b2b6..259ae5c989 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -826,7 +826,7 @@ typedef enum { #define CELL_RELAY_EARLY 9 #define CELL_VPADDING 128 -#define CELL_CERT 129 +#define CELL_CERTS 129 #define CELL_AUTH_CHALLENGE 130 #define CELL_AUTHENTICATE 131 @@ -1088,10 +1088,10 @@ typedef struct listener_connection_t { #define OR_AUTH_CHALLENGE_LEN 32 /** - * @name Certificate types for CERT cells. + * @name Certificate types for CERTS cells. * * These values are defined by the protocol, and affect how an X509 - * certificate in a CERT cell is interpreted and used. + * certificate in a CERTS cell is interpreted and used. * * @{ */ /** A certificate that authenticates a TLS link key. The subject key @@ -1137,8 +1137,8 @@ typedef struct or_handshake_state_t { unsigned int received_versions : 1; /** True iff we have received and processed an AUTH_CHALLENGE cell */ unsigned int received_auth_challenge : 1; - /** True iff we have received and processed a CERT cell. */ - unsigned int received_cert_cell : 1; + /** True iff we have received and processed a CERTS cell. */ + unsigned int received_certs_cell : 1; /** True iff we have received and processed an AUTHENTICATE cell */ unsigned int received_authenticate : 1; @@ -1171,7 +1171,7 @@ typedef struct or_handshake_state_t { crypto_digest_env_t *digest_received; /** @} */ - /** Certificates that a connection initiator sent us in a CERT cell; we're + /** Certificates that a connection initiator sent us in a CERTS cell; we're * holding on to them until we get an AUTHENTICATE cell. * * @{ |