1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-17 11:00:59 -05:00

Fix various trivial compiler warnings

[originally from svn r983]
This commit is contained in:
Simon Tatham
2001-03-05 17:31:36 +00:00
parent aaeecbb4ea
commit 6b58ab6ad4
3 changed files with 8 additions and 13 deletions

View File

@ -591,7 +591,6 @@ struct ssh2_userkey *ssh2_load_userkey(char *filename, char *passphrase) {
{
char realhash[41];
unsigned char binary[20];
SHA_State s;
SHA_Simple(private_blob, private_blob_len, binary);
for (i = 0; i < 20; i++)
@ -634,7 +633,6 @@ char *ssh2_userkey_loadpub(char *filename, char **algorithm, int *pub_blob_len)
FILE *fp;
char header[40], *b;
const struct ssh_signkey *alg;
int cipher, cipherblk;
unsigned char *public_blob;
int public_blob_len;
int i;