aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_digest.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 17:00:48 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 09:49:13 -0400
commitde508c5f50af855742b59579afd6c9c328eb7cd6 (patch)
tree46f3e34bc7fca3a5909bf7abad202a53a1d451f4 /src/lib/crypt_ops/crypto_digest.h
parent9cf6fc91b1d0870dab8bf87feb9132e7e0de2808 (diff)
downloadtor-de508c5f50af855742b59579afd6c9c328eb7cd6.tar.gz
tor-de508c5f50af855742b59579afd6c9c328eb7cd6.zip
Extract smartlist.h from container.h
Diffstat (limited to 'src/lib/crypt_ops/crypto_digest.h')
-rw-r--r--src/lib/crypt_ops/crypto_digest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_digest.h b/src/lib/crypt_ops/crypto_digest.h
index 628224a03f..15bc5ad5b9 100644
--- a/src/lib/crypt_ops/crypto_digest.h
+++ b/src/lib/crypt_ops/crypto_digest.h
@@ -13,7 +13,6 @@
#ifndef TOR_CRYPTO_DIGEST_H
#define TOR_CRYPTO_DIGEST_H
-#include "lib/container/container.h"
#include "lib/cc/torint.h"
#include "lib/defs/digest_sizes.h"
#include "lib/malloc/util_malloc.h"
@@ -70,6 +69,8 @@ typedef struct {
typedef struct crypto_digest_t crypto_digest_t;
typedef struct crypto_xof_t crypto_xof_t;
+struct smartlist_t;
+
/* SHA-1 and other digests */
int crypto_digest(char *digest, const char *m, size_t len);
int crypto_digest256(char *digest, const char *m, size_t len,