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

can create v4 signatures

This commit is contained in:
Werner Koch 1998-05-13 17:53:36 +00:00
parent 69cf10ffab
commit 0e5a31d7be
42 changed files with 1101 additions and 325 deletions

View file

@ -1,3 +1,7 @@
Fri May 8 17:06:49 1998 Werner Koch (wk@isil.d.shuttle.de)
* errors.c (strerror): New if !HAVE_STRERROR
Mon May 4 19:48:03 1998 Werner Koch (wk@isil.d.shuttle.de)
* iobuf.c (iobuf_read): Code is now faster.

View file

@ -25,6 +25,21 @@
#include "errors.h"
#ifndef HAVE_STRERROR
char *
strerror( int n )
{
extern char *sys_errlist[];
extern int sys_nerr;
static char buf[15];
if( n >= 0 && n < sys_nerr )
return sys_errlist[n];
strcpy( buf, "Unknown error" );
return buf;
}
#endif /* !HAVE_STRERROR */
const char *
g10_errstr( int err )
{

View file

@ -24,6 +24,7 @@
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>