diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-26 13:20:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-26 13:27:50 -0400 |
commit | ebbb0348dc3ad57f6be8208a90f3c2fd9fe2cbf7 (patch) | |
tree | bb64d4cdd2913bc17f8f559c360824caa90e33a8 /src/lib/crypt_ops/digestset.h | |
parent | bf89278c799e718a3b6c1ea139a6069db054ac09 (diff) | |
download | tor-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.h | 3 |
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 |