27 lines
729 B
Plaintext
Executable File
27 lines
729 B
Plaintext
Executable File
*** lib/keylist.c.orig Thu Apr 9 23:10:15 1998
|
|
--- lib/keylist.c Thu Apr 9 23:10:49 1998
|
|
***************
|
|
*** 76,82 ****
|
|
--- 76,84 ----
|
|
char keyring[STRING_LENGTH];
|
|
char txt[STRING_LENGTH];
|
|
struct stat statbuf_list, statbuf_keyring;
|
|
+ #ifndef __OpenBSD__
|
|
extern char *sys_errlist[];
|
|
+ #endif
|
|
static char *argv[] = {"pgp", "-kv", "+language=en", NULL};
|
|
|
|
sprintf (listfile, "%s/.keylist", pgppath);
|
|
***************
|
|
*** 263,269 ****
|
|
--- 265,273 ----
|
|
int ch;
|
|
FILE *in_fp;
|
|
char keyfile[STRING_LENGTH];
|
|
+ #ifndef __OpenBSD__
|
|
extern char *sys_errlist[];
|
|
+ #endif
|
|
|
|
sprintf (keyfile, "%s/mypubkey.asc", pgppath);
|
|
if ( ( in_fp = fopen (keyfile, "r") ) == NULL )
|