diff options
author | Moritz Schulte <mo@g10code.com> | 2003-03-06 21:55:44 +0000 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2003-03-06 21:55:44 +0000 |
commit | c4f2abd48c9ee5a4ed14ff584ee1405750960971 (patch) | |
tree | 00dfdbff25df102bb6b88d2a53b59f97cf8a2128 /src/misc.c | |
parent | 119e7fa0f1444a190e04165627a9653723677299 (diff) | |
download | libgcrypt-c4f2abd48c9ee5a4ed14ff584ee1405750960971.tar.gz |
2003-03-06 Moritz Schulte <mo@g10code.com>
* secmem.h (GCRY_SECMEM_FLAG_NO_WARNING,
GCRY_SECMEM_FLAG_SUSPEND_WARNING): New symbols.
* global.c (gcry_control): Use
GCRY_SECMEM_FLAG_{NO,SUSPEND}_WARNING, instead of hard-coded
values.
* secmem.c (_gcry_secmem_set_flags): Likewise.
* secmem.c (_gcry_secmem_get_flags): Likewise.
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -193,7 +193,7 @@ _gcry_log_fatal( const char *fmt, ... ) va_start( arg_ptr, fmt ) ; _gcry_logv( GCRY_LOG_FATAL, fmt, arg_ptr ); va_end(arg_ptr); - abort(); /* never called, bugs it makes the compiler happy */ + abort(); /* never called, but it makes the compiler happy */ } void @@ -204,7 +204,7 @@ _gcry_log_bug( const char *fmt, ... ) va_start( arg_ptr, fmt ) ; _gcry_logv( GCRY_LOG_BUG, fmt, arg_ptr ); va_end(arg_ptr); - abort(); /* never called, bugs it makes the compiler happy */ + abort(); /* never called, but it makes the compiler happy */ } void |