diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-25 23:38:09 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-25 23:38:09 +0200 |
commit | 04b49d46c1410d115f58a80cf6832e6dc4393eb5 (patch) | |
tree | d5f332894df5ea3a8102e4f35d449496e477fc4d /libssh/keyfiles.c | |
parent | 74b7fb7bbac618419e5e40a2df0beb2304aa84ad (diff) | |
download | libssh-04b49d46c1410d115f58a80cf6832e6dc4393eb5.tar.gz libssh-04b49d46c1410d115f58a80cf6832e6dc4393eb5.tar.xz libssh-04b49d46c1410d115f58a80cf6832e6dc4393eb5.zip |
Fixed building with Gcrypt and arith with void*
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r-- | libssh/keyfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index 2a197aad..cb3edd2e 100644 --- a/libssh/keyfiles.c +++ b/libssh/keyfiles.c @@ -166,7 +166,7 @@ static int asn1_check_sequence(ssh_buffer buffer) { size = asn1_get_len(buffer); if ((padding = buffer_get_len(buffer) - buffer->pos - size) > 0) { for (i = buffer_get_len(buffer) - buffer->pos - size, - j = buffer_get(buffer) + size + buffer->pos; + j = (unsigned char*)buffer_get(buffer) + size + buffer->pos; i; i--, j++) { |