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:
parent
69cf10ffab
commit
0e5a31d7be
42 changed files with 1101 additions and 325 deletions
|
@ -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.
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue