mirror of
https://github.com/clearml/dropbear
synced 2025-04-06 21:54:24 +00:00
parent
7b2c42aa75
commit
5c57a31184
@ -627,7 +627,7 @@ static sign_key *openssh_read(const char *filename, char * UNUSED(passphrase))
|
||||
|
||||
if (i == 0) {
|
||||
/* First integer is a version indicator */
|
||||
int expected;
|
||||
int expected = -1;
|
||||
switch (key->type) {
|
||||
case OSSH_RSA:
|
||||
case OSSH_DSA:
|
||||
@ -826,7 +826,7 @@ static int openssh_write(const char *filename, sign_key *key,
|
||||
unsigned char *outblob = NULL;
|
||||
int outlen = -9999;
|
||||
struct mpint_pos numbers[9];
|
||||
int nnumbers = -1, pos, len, seqlen, i;
|
||||
int nnumbers = -1, pos = 0, len = 0, seqlen, i;
|
||||
char *header = NULL, *footer = NULL;
|
||||
char zero[1];
|
||||
int ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user