aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-25 11:16:18 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-25 11:27:43 -0400
commitd5e11f21cc98f4e42b05bdddb9e3316072ec0bef (patch)
tree056208ee2c9a9bf76ab429235294feea2288f420 /src/common/crypto.c
parentc3dd2e3d9e1b307862313293f03554807649b5d5 (diff)
downloadtor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.tar
tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.tar.gz
Fix warnings from doxygen
Most of these are simple. The only nontrivial part is that our pattern for using ENUM_BF was confusing doxygen by making declarations that didn't look like declarations.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index f357934ac..8a4ffb694 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1594,7 +1594,7 @@ struct crypto_digest_t {
SHA256_CTX sha2; /**< state for SHA256 */
} d; /**< State for the digest we're using. Only one member of the
* union is usable, depending on the value of <b>algorithm</b>. */
- ENUM_BF(digest_algorithm_t) algorithm : 8; /**< Which algorithm is in use? */
+ digest_algorithm_bitfield_t algorithm : 8; /**< Which algorithm is in use? */
};
/** Allocate and return a new digest object to compute SHA1 digests.