summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/digestset.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-26 13:20:54 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-26 13:27:50 -0400
commitebbb0348dc3ad57f6be8208a90f3c2fd9fe2cbf7 (patch)
treebb64d4cdd2913bc17f8f559c360824caa90e33a8 /src/lib/crypt_ops/digestset.h
parentbf89278c799e718a3b6c1ea139a6069db054ac09 (diff)
downloadtor-ebbb0348dc3ad57f6be8208a90f3c2fd9fe2cbf7.tar.gz
tor-ebbb0348dc3ad57f6be8208a90f3c2fd9fe2cbf7.zip
Finish renaming digestset_contains to digestset_probably_contains
Since bloom filters are probabilistic, it's nice to make it clear that the "contains" operation can have false positives.
Diffstat (limited to 'src/lib/crypt_ops/digestset.h')
-rw-r--r--src/lib/crypt_ops/digestset.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/crypt_ops/digestset.h b/src/lib/crypt_ops/digestset.h
index 3b5d62c310..328979ae0d 100644
--- a/src/lib/crypt_ops/digestset.h
+++ b/src/lib/crypt_ops/digestset.h
@@ -26,7 +26,4 @@ void digestset_add(digestset_t *set, const char *addr);
int digestset_probably_contains(const digestset_t *set,
const char *addr);
-// XXXX to remove.
-#define digestset_contains digestset_probably_contains
-
#endif