diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-25 22:38:20 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-03 11:29:48 -0500 |
commit | 94cb7bd24d2ffda9038c267b3ee0837dd64ec903 (patch) | |
tree | ba8cdf4f424ff7d25afb46118bf7db0d94a35657 /src/or/onion_fast.c | |
parent | 5f219ddd029348df2d384fca5012d96957885cbc (diff) | |
download | tor-94cb7bd24d2ffda9038c267b3ee0837dd64ec903.tar.gz tor-94cb7bd24d2ffda9038c267b3ee0837dd64ec903.zip |
Complete all DOCDOC entries from the ntor branch
Diffstat (limited to 'src/or/onion_fast.c')
-rw-r--r-- | src/or/onion_fast.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/onion_fast.c b/src/or/onion_fast.c index f33b048c28..eb9eceba88 100644 --- a/src/or/onion_fast.c +++ b/src/or/onion_fast.c @@ -12,7 +12,7 @@ #include "or.h" #include "onion_fast.h" -/**DOCDOC*/ +/** Release all state held in <b>victim</b>. */ void fast_handshake_state_free(fast_handshake_state_t *victim) { @@ -22,7 +22,8 @@ fast_handshake_state_free(fast_handshake_state_t *victim) tor_free(victim); } -/** DOCDOC */ +/** Create the state needed to perform a CREATE_FAST hasnshake. Return 0 + * on success, -1 on failure. */ int fast_onionskin_create(fast_handshake_state_t **handshake_state_out, uint8_t *handshake_out) |