From b5864f2c42efe93fb3b45f87f6c01428bbd64ead Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 25 Oct 2002 12:59:57 +0000 Subject: [PATCH] Tidy up and fix a compiler warning. git-svn-id: svn://svn.tartarus.org/sgt/putty@2133 cda61777-01e9-0310-a592-d414129be87e --- sshrsa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sshrsa.c b/sshrsa.c index 68c4a045..efc4e2aa 100644 --- a/sshrsa.c +++ b/sshrsa.c @@ -252,7 +252,6 @@ unsigned char *rsa_public_blob(struct RSAKey *key, int *len) int rsa_public_blob_len(void *data) { unsigned char *p = (unsigned char *)data; - int ret; p += 4; /* length word */ p += ssh1_read_bignum(p, NULL); /* exponent */ @@ -560,7 +559,7 @@ static char *rsa2_fingerprint(void *key) * iso(1) identified-organization(3) oiw(14) secsig(3) * algorithms(2) 26 } */ -static unsigned char asn1_weird_stuff[] = { +static const unsigned char asn1_weird_stuff[] = { 0x00, 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E, 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14, }; -- 2.11.0