mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
other cleanups that have been sitting in my sandbox
svn:r13649
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user