Merge branch 'maint-0.4.4' into maint-0.4.5

This commit is contained in:
Nick Mathewson
2021-06-10 08:37:34 -04:00
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -525,8 +525,8 @@ crypto_rand_unmocked(char *to, size_t n)
/* We consider a PRNG failure non-survivable. Let's assert so that we get a
* stack trace about where it happened.
*/
tor_assert(r >= 0);
#endif /* defined(ENABLE_NSS) */
tor_assert(r == 1);
#endif
}
/**