aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index a11ca79c04..251bbbf893 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1731,6 +1731,7 @@ crypto_digest_algorithm_get_length(digest_algorithm_t alg)
return DIGEST512_LEN;
default:
tor_assert(0);
+ return 0; /* Unreachable */
}
}