aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-10-31 16:32:35 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commitf5bc5147b972b7fc27b38c2ecb290d8cf1a2dd74 (patch)
tree398185a41ab53f70711841044d6d3efffd8b4fc7 /include/libssh
parentb5160ce9e0cf44033bd7dd66bd1e3802651fc341 (diff)
downloadlibssh-f5bc5147b972b7fc27b38c2ecb290d8cf1a2dd74.tar.gz
libssh-f5bc5147b972b7fc27b38c2ecb290d8cf1a2dd74.tar.xz
libssh-f5bc5147b972b7fc27b38c2ecb290d8cf1a2dd74.zip
base64: Fix size types of bin_to_base64()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 90ef0dcf..68c67d3e 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -287,7 +287,7 @@ socket_t ssh_connect_host_nonblocking(ssh_session session, const char *host,
/* in base64.c */
ssh_buffer base64_to_bin(const char *source);
-unsigned char *bin_to_base64(const unsigned char *source, int len);
+uint8_t *bin_to_base64(const uint8_t *source, size_t len);
/* gzip.c */
int compress_buffer(ssh_session session,ssh_buffer buf);