From 33a640e3480b21bc9e7955ef29ea961460f3d7e3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 5 May 2009 07:34:16 +0000 Subject: 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 --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit