summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-21 09:01:32 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-21 09:01:32 +0000
commitb3c0d066e535d33d9ed271e92eb30cdefb18385e (patch)
tree9ce0e2aac1bdc8e5b5fca86629ffac57ccd71095 /src/common
parenta60f7caa5490a38bd67d01ae65fb08c51250cd87 (diff)
downloadtor-b3c0d066e535d33d9ed271e92eb30cdefb18385e.tar.gz
tor-b3c0d066e535d33d9ed271e92eb30cdefb18385e.zip
other cleanups that have been sitting in my sandbox
svn:r13649
Diffstat (limited to 'src/common')
-rw-r--r--src/common/aes.c4
-rw-r--r--src/common/container.h2
-rw-r--r--src/common/tortls.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index d1698604cd..3a17af7f33 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -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)
diff --git a/src/common/container.h b/src/common/container.h
index 6d38563b5f..72fbfcd318 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -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.
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 2259d9e5a7..fb9b26a82a 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -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)
{