1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

Fix build warnings.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@243 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-03-08 12:09:22 +00:00
parent facc434ce4
commit 851560426f

View File

@@ -196,7 +196,7 @@ static struct crypto_struct ssh_ciphertab[]={
des3_set_key,des3_encrypt, des3_decrypt}, des3_set_key,des3_encrypt, des3_decrypt},
{ "3des-cbc-ssh1",8,sizeof(gcry_cipher_hd_t)*3,NULL,192,des3_1_set_key, { "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}, 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 #elif defined HAVE_LIBCRYPTO
#include <openssl/sha.h> #include <openssl/sha.h>
@@ -413,7 +413,7 @@ static struct crypto_struct *cipher_new(int offset){
static void cipher_free(struct crypto_struct *cipher){ static void cipher_free(struct crypto_struct *cipher){
#ifdef HAVE_LIBGCRYPT #ifdef HAVE_LIBGCRYPT
int i; unsigned int i;
#endif #endif
if(cipher->key){ if(cipher->key){
#ifdef HAVE_LIBGCRYPT #ifdef HAVE_LIBGCRYPT