aboutsummaryrefslogtreecommitdiff
path: root/libssh/wrapper.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-08 12:09:22 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-08 12:09:22 +0000
commit851560426f9b1e8a019124f00450cd757460e61c (patch)
tree2aca9f8760a6d97142ed8e306397a60e74a5d92f /libssh/wrapper.c
parentfacc434ce463c9864ec78c19a9e8d6a2eef8b96f (diff)
downloadlibssh-851560426f9b1e8a019124f00450cd757460e61c.tar.gz
libssh-851560426f9b1e8a019124f00450cd757460e61c.tar.xz
libssh-851560426f9b1e8a019124f00450cd757460e61c.zip
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@243 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/wrapper.c')
-rw-r--r--libssh/wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/wrapper.c b/libssh/wrapper.c
index 5f3f67f4..83194803 100644
--- a/libssh/wrapper.c
+++ b/libssh/wrapper.c
@@ -196,7 +196,7 @@ static struct crypto_struct ssh_ciphertab[]={
des3_set_key,des3_encrypt, des3_decrypt},
{ "3des-cbc-ssh1",8,sizeof(gcry_cipher_hd_t)*3,NULL,192,des3_1_set_key,
des3_1_set_key,des3_1_encrypt, des3_1_decrypt},
- { NULL,0,0,NULL,0,NULL,NULL,NULL}
+ { NULL,0,0,NULL,0,NULL,NULL,NULL,NULL }
};
#elif defined HAVE_LIBCRYPTO
#include <openssl/sha.h>
@@ -413,7 +413,7 @@ static struct crypto_struct *cipher_new(int offset){
static void cipher_free(struct crypto_struct *cipher){
#ifdef HAVE_LIBGCRYPT
- int i;
+ unsigned int i;
#endif
if(cipher->key){
#ifdef HAVE_LIBGCRYPT