Explain why some abort() calls are still around
This commit is contained in:
parent
74703c63a6
commit
c3b24c1d22
@ -354,7 +354,7 @@ randombytes_salsa20_random_stir(void)
|
||||
#endif
|
||||
if (crypto_generichash(stream.key, sizeof stream.key, k0, sizeof_k0,
|
||||
hsigma, sizeof hsigma) != 0) {
|
||||
abort(); /* LCOV_EXCL_LINE */
|
||||
abort(); /* really abort -- it should never happen */ /* LCOV_EXCL_LINE */
|
||||
}
|
||||
COMPILER_ASSERT(sizeof stream.key <= sizeof m0);
|
||||
randombytes_salsa20_random_rekey(m0);
|
||||
|
@ -481,7 +481,7 @@ _out_of_bounds(void)
|
||||
# elif defined(SIGKILL)
|
||||
raise(SIGKILL);
|
||||
# endif
|
||||
abort();
|
||||
abort(); /* not something we want any higher-level API to catch */
|
||||
} /* LCOV_EXCL_LINE */
|
||||
|
||||
static inline size_t
|
||||
|
Loading…
Reference in New Issue
Block a user