openbsd-ports/mail/pgpsendmail/patches/patch-ac
1998-04-10 20:49:14 +00:00

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 )