diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-05-05 07:34:16 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-05-05 07:34:16 +0000 |
commit | 33a640e3480b21bc9e7955ef29ea961460f3d7e3 (patch) | |
tree | 843e0677615eff557899440754cb6e97de126fa7 /include | |
parent | 03c40ac79f1fddafb2e9b41728922028543e75fc (diff) | |
download | libssh-33a640e3480b21bc9e7955ef29ea961460f3d7e3.tar.gz libssh-33a640e3480b21bc9e7955ef29ea961460f3d7e3.tar.xz libssh-33a640e3480b21bc9e7955ef29ea961460f3d7e3.zip |
Use const char * and an unsigned int in ssh_crc32().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@723 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 0d05cdd..8c77681 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -660,7 +660,7 @@ CRYPTO *crypto_new(void); void crypto_free(CRYPTO *crypto); /* crc32.c */ -u32 ssh_crc32(char *buffer, int len); +u32 ssh_crc32(const char *buf, u32 len); /* auth1.c */ int ssh_userauth1_none(SSH_SESSION *session, const char *username); |