Mercurial > dropbear
view ltc_prng.h @ 1090:93e1a0eb40ef
Uses abort() instead of raising a SIGABRT signal [-Werror]
error: ‘noreturn’ function does return [-Werror]
abort() is a noreturn function while raise() is not.
And because crypt_argchk() is flagged as __attribute__(noreturn), abort()
appears to be a better condidate.
This compilation warning has probably been introduced by commit
1809f741cba865b03d4db5c4ba8c41364a55d6bc.
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Sat, 02 May 2015 11:26:22 +0200 |
parents | deed0571cacc |
children | 750ec4ec4cbe |
line wrap: on
line source
#ifndef DROPBEAR_LTC_PRNG_H_DROPBEAR #define DROPBEAR_LTC_PRNG_H_DROPBEAR #include "options.h" #include "includes.h" #ifdef DROPBEAR_LTC_PRNG extern const struct ltc_prng_descriptor dropbear_prng_desc; #endif /* DROPBEAR_LTC_PRNG */ #endif /* DROPBEAR_LTC_PRNG_H_DROPBEAR */