diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-02 20:06:43 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-02 20:06:43 +0000 |
commit | fefba953634ef35e2ec83716924c84a375e86ad6 (patch) | |
tree | 58f786243ef3553a70dedc8f34db668764071099 /src/or/onion.c | |
parent | e521c96cb191ae746e06304b6bba49d925f63469 (diff) | |
download | tor-fefba953634ef35e2ec83716924c84a375e86ad6.tar.gz tor-fefba953634ef35e2ec83716924c84a375e86ad6.zip |
r11629@catbus: nickm | 2007-02-02 15:06:17 -0500
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index c9556db256..4425d46ba3 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -25,7 +25,7 @@ typedef struct onion_queue_t { /** 5 seconds on the onion queue til we just send back a destroy */ #define ONIONQUEUE_WAIT_CUTOFF 5 -/** Global (within this file) variables used by the next few functions */ +/** DOCDOC */ static onion_queue_t *ol_list=NULL; static onion_queue_t *ol_tail=NULL; /** Length of ol_list */ @@ -359,10 +359,10 @@ onion_skin_client_handshake(crypto_dh_env_t *handshake_state, /** Implement the server side of the CREATE_FAST abbreviated handshake. The * client has provided DIGEST_LEN key bytes in <b>key_in</b> ("x"). We - * generate a reply of DIGEST_LEN*2 bytes in <b>key_out/b>, consisting of a + * generate a reply of DIGEST_LEN*2 bytes in <b>key_out</b>, consisting of a * new random "y", followed by H(x|y) to check for correctness. We set * <b>key_out_len</b> bytes of key material in <b>key_out</b>. - * Return 0 on success, <0 on failure. + * Return 0 on success, <0 on failure. **/ int fast_server_handshake(const char *key_in, /* DIGEST_LEN bytes */ |