aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4ff46461ff..1b50b4d7df 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1978,8 +1978,7 @@ tor_main(int argc, char *argv[])
#ifdef USE_DMALLOC
int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc,
_tor_dmalloc_free);
- if (!r) {
- log_warn("Couldn't configure openssl to use dmalloc functions.");
+ tor_assert(r);
#endif
#ifdef NT_SERVICE
{