diff options
author | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-03 00:27:49 +0200 |
---|---|---|
committer | Gaël PORTAY <gael.portay@gmail.com> | 2015-05-05 20:39:14 +0200 |
commit | 6e15e75391fc117125f50efd9f3d8ed646596da9 (patch) | |
tree | 5da161bb2372d7a203dd39c616701ae090bb730d /keyimport.c | |
parent | 1c2a1838fc781dc0be8d3a76606281b4bbd7a57a (diff) |
Turn modptr local variable into unsigned char *
Diffstat (limited to 'keyimport.c')
-rw-r--r-- | keyimport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyimport.c b/keyimport.c index fdf51c0..b7490aa 100644 --- a/keyimport.c +++ b/keyimport.c @@ -507,7 +507,7 @@ static sign_key *openssh_read(const char *filename, char * UNUSED(passphrase)) int i, num_integers = 0; sign_key *retval = NULL; char *errmsg; - char *modptr = NULL; + unsigned char *modptr = NULL; int modlen = -9999; enum signkey_type type; @@ -646,7 +646,7 @@ static sign_key *openssh_read(const char *filename, char * UNUSED(passphrase)) */ if (i == 1) { /* Save the details for after we deal with number 2. */ - modptr = (char *)p; + modptr = p; modlen = len; } else if (i >= 2 && i <= 5) { buf_putstring(blobbuf, p, len); |