mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Turn modptr local variable into unsigned char *
This commit is contained in:
parent
1c2a1838fc
commit
6e15e75391
@ -507,7 +507,7 @@ static sign_key *openssh_read(const char *filename, char * UNUSED(passphrase))
|
|||||||
int i, num_integers = 0;
|
int i, num_integers = 0;
|
||||||
sign_key *retval = NULL;
|
sign_key *retval = NULL;
|
||||||
char *errmsg;
|
char *errmsg;
|
||||||
char *modptr = NULL;
|
unsigned char *modptr = NULL;
|
||||||
int modlen = -9999;
|
int modlen = -9999;
|
||||||
enum signkey_type type;
|
enum signkey_type type;
|
||||||
|
|
||||||
@ -646,7 +646,7 @@ static sign_key *openssh_read(const char *filename, char * UNUSED(passphrase))
|
|||||||
*/
|
*/
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
/* Save the details for after we deal with number 2. */
|
/* Save the details for after we deal with number 2. */
|
||||||
modptr = (char *)p;
|
modptr = p;
|
||||||
modlen = len;
|
modlen = len;
|
||||||
} else if (i >= 2 && i <= 5) {
|
} else if (i >= 2 && i <= 5) {
|
||||||
buf_putstring(blobbuf, p, len);
|
buf_putstring(blobbuf, p, len);
|
||||||
|
Loading…
Reference in New Issue
Block a user