summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2003-03-06 21:55:44 +0000
committerMoritz Schulte <mo@g10code.com>2003-03-06 21:55:44 +0000
commitc4f2abd48c9ee5a4ed14ff584ee1405750960971 (patch)
tree00dfdbff25df102bb6b88d2a53b59f97cf8a2128 /src/misc.c
parent119e7fa0f1444a190e04165627a9653723677299 (diff)
downloadlibgcrypt-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.c b/src/misc.c
index b1a40642..12f37c01 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -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