1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-05-17 20:03:24 +00:00
parent a1dcec76c1
commit 3983f30bd2
24 changed files with 378 additions and 182 deletions

View file

@ -1,3 +1,7 @@
Mon May 17 21:54:43 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* logger.c (g10_log_hexdump): Made 2nd arg a const.
Wed Apr 28 13:03:03 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* miscutil.c (asctimestamp): Use nl_langinfo (Gaël Quéri).

View file

@ -424,6 +424,12 @@ print_chain( IOBUF a )
}
}
int
iobuf_print_chain( IOBUF a )
{
print_chain(a);
}
/****************
* Allocate a new io buffer, with no function assigned.
* Use is the desired usage: 1 for input, 2 for output, 3 for temp buffer
@ -787,7 +793,7 @@ iobuf_push_filter2( IOBUF a,
/****************
* Remove an i/o filter.
*/
static int
int
pop_filter( IOBUF a, int (*f)(void *opaque, int control,
IOBUF chain, byte *buf, size_t *len), void *ov )
{
@ -856,7 +862,6 @@ pop_filter( IOBUF a, int (*f)(void *opaque, int control,
}
/****************
* read underflow: read more bytes into the buffer and return
* the first byte or -1 on EOF.
@ -949,8 +954,6 @@ underflow(IOBUF a)
memcpy(a,b, sizeof *a);
m_free(b);
print_chain(a);
}
}
else if( rc )

View file

@ -210,13 +210,13 @@ g10_log_debug_f( const char *fname, const char *fmt, ... )
void
g10_log_hexdump( const char *text, char *buf, size_t len )
g10_log_hexdump( const char *text, const char *buf, size_t len )
{
int i;
print_prefix(text);
for(i=0; i < len; i++ )
fprintf(stderr, " %02X", ((byte*)buf)[i] );
fprintf(stderr, " %02X", ((const byte*)buf)[i] );
fputc('\n', stderr);
}