diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-23 10:58:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-23 10:58:27 -0400 |
commit | b53a2059c4495946d1bb27f8be1f6fadb7af69f1 (patch) | |
tree | ea7ecc5c2520cc35517cd930cda2cf5e5f0316d1 /src/common/crypto.c | |
parent | 2a884926c04959b11c39e656099f19a55c3a8e95 (diff) | |
download | tor-b53a2059c4495946d1bb27f8be1f6fadb7af69f1.tar.gz tor-b53a2059c4495946d1bb27f8be1f6fadb7af69f1.zip |
Expose crypto_digest_algorithm_get_length from crypto.c
Also, use it in routerparse.c
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index fb5dd06b5e..4ed8bfa7e6 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1727,7 +1727,7 @@ crypto_digest_algorithm_parse_name(const char *name) } /** Given an algorithm, return the digest length in bytes. */ -static inline size_t +size_t crypto_digest_algorithm_get_length(digest_algorithm_t alg) { switch (alg) { |