GNUTLS_ASSERT macro

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Nov 27 19:55:00 CET 2010


On 11/26/2010 06:25 PM, Jeffrey Walton wrote:

>>> GnuTLS should probably honor the intent of standard assert() and
>>> provide equivalent behavior: if NDEBUG is defined, asserts are not
>>> compiled into the program code. Otherwise, asserts are compiled into
>>> the program code [1].
>> No. The original assert() is very dangerous,
> How so?

Production code is less safe than testing code.

regards,
Nikos




More information about the Gnutls-devel mailing list