diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-21 16:34:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-22 09:49:13 -0400 |
commit | 932b4d0a4342ec281b6f692f23453d6c46026c18 (patch) | |
tree | 7495d70fd2f2390d351917ce1421e80be43fa3d2 /src/lib/container | |
parent | 479c2ab503a3a051200339a7df9a99dcfb0ed976 (diff) | |
download | tor-932b4d0a4342ec281b6f692f23453d6c46026c18.tar.gz tor-932b4d0a4342ec281b6f692f23453d6c46026c18.zip |
Remove container->crypto dependency
Containers were using crypto_digest.h, just to see the value of
DIGEST_LEN. Moved those constants into a new defs module.
Diffstat (limited to 'src/lib/container')
-rw-r--r-- | src/lib/container/map.c | 2 | ||||
-rw-r--r-- | src/lib/container/smartlist.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/container/map.c b/src/lib/container/map.c index 227fb8f5e3..508680e4a5 100644 --- a/src/lib/container/map.c +++ b/src/lib/container/map.c @@ -13,7 +13,7 @@ #include "lib/container/map.h" #include "lib/ctime/di_ops.h" -#include "lib/crypt_ops/crypto_digest.h" +#include "lib/defs/digest_sizes.h" #include "common/util_bug.h" #include "common/util.h" // For strlower diff --git a/src/lib/container/smartlist.c b/src/lib/container/smartlist.c index 0fe11c6703..2d861f566c 100644 --- a/src/lib/container/smartlist.c +++ b/src/lib/container/smartlist.c @@ -15,7 +15,7 @@ #include "lib/container/smartlist.h" #include "lib/err/torerr.h" #include "common/util.h" // For strstrip. -#include "lib/crypt_ops/crypto_digest.h" +#include "lib/defs/digest_sizes.h" #include "lib/ctime/di_ops.h" #include <stdlib.h> |