other cleanups that have been sitting in my sandbox

svn:r13649
This commit is contained in:
Roger Dingledine
2008-02-21 09:01:32 +00:00
parent a60f7caa54
commit b3c0d066e5
10 changed files with 33 additions and 29 deletions
+2 -2
View File
@@ -135,9 +135,9 @@ static void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr,
/*======================================================================*/
/* Interface to AES code, and counter implementation */
/** Implements an aes counter-mode cipher. */
/** Implements an AES counter-mode cipher. */
struct aes_cnt_cipher {
/** This next element (howevever it's defined) is the AES key. */
/** This next element (however it's defined) is the AES key. */
#if defined(USE_OPENSSL_EVP)
EVP_CIPHER_CTX key;
#elif defined(USE_OPENSSL_AES)
+1 -1
View File
@@ -207,7 +207,7 @@ DECLARE_MAP_FNS(digestmap_t, const char *, digestmap_);
#undef DECLARE_MAP_FNS
/** Used to iterate over the key-value pairs in a map <b>map</b> in order.
/** Iterates over the key-value pairs in a map <b>map</b> in order.
* <b>prefix</b> is as for DECLARE_MAP_FNS (i.e., strmap_ or digestmap_).
* The map's keys and values are of type keytype and valtype respectively;
* each iteration assigns them to keyvar and valvar.
+1 -1
View File
@@ -1306,7 +1306,7 @@ _check_no_tls_errors(const char *fname, int line)
}
/** Return true iff the initial TLS connection at <b>tls</b> did not use a v2
* TLS handshake. Output undefined if the handshake isn't finished. */
* TLS handshake. Output is undefined if the handshake isn't finished. */
int
tor_tls_used_v1_handshake(tor_tls_t *tls)
{