summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
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.h
parentc3dd2e3d9e1b307862313293f03554807649b5d5 (diff)
downloadtor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.tar.gz
tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.zip
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.h')
-rw-r--r--src/common/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 4f0f1c10c3..aa4271aa33 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -89,6 +89,7 @@ typedef enum {
DIGEST_SHA256 = 1,
} digest_algorithm_t;
#define N_DIGEST_ALGORITHMS (DIGEST_SHA256+1)
+#define digest_algorithm_bitfield_t ENUM_BF(digest_algorithm_t)
/** A set of all the digests we know how to compute, taken on a single
* string. Any digests that are shorter than 256 bits are right-padded