isalpha((unsigned char)*s) instead of isalpha((int)*s). Also replaced WRKSRC with BUILD_DIRS, which is more appropriate. Approved by jlam.
26 lines
876 B
Text
26 lines
876 B
Text
$NetBSD: patch-ak,v 1.2 2005/04/13 16:45:46 rillig Exp $
|
|
|
|
--- import.c.orig Tue Apr 5 21:37:51 2005
|
|
+++ import.c Tue Apr 12 10:27:13 2005
|
|
@@ -680,8 +680,8 @@ int openssh_write(const Filename *filena
|
|
unsigned char *outblob;
|
|
int outlen;
|
|
struct mpint_pos numbers[9];
|
|
- int nnumbers, pos, len, seqlen, i;
|
|
- char *header, *footer;
|
|
+ int nnumbers = 0, pos = 0, len = 0, seqlen = 0, i = 0;
|
|
+ char *header = NULL, *footer = NULL;
|
|
char zero[1];
|
|
unsigned char iv[8];
|
|
int ret = 0;
|
|
@@ -1441,8 +1441,8 @@ int sshcom_write(const Filename *filenam
|
|
unsigned char *outblob;
|
|
int outlen;
|
|
struct mpint_pos numbers[6];
|
|
- int nnumbers, initial_zero, pos, lenpos, i;
|
|
- char *type;
|
|
+ int nnumbers = 0, initial_zero = 0, pos = 0, lenpos = 0, i = 0;
|
|
+ char *type = NULL;
|
|
char *ciphertext;
|
|
int cipherlen;
|
|
int ret = 0;
|