aboutsummaryrefslogtreecommitdiff
path: root/libssh/wrapper.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-03-04 04:40:01 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-03-04 04:40:01 +0000
commit8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50 (patch)
tree4c6e0002241f11505c9a0067e760e2bcd829a8e4 /libssh/wrapper.c
parent77743b75f41bd353c09da6a740562d621ed9382d (diff)
downloadlibssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.gz
libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.xz
libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.zip
fixed a load of ssh_set_error(NULL,...)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/wrapper.c')
-rw-r--r--libssh/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/wrapper.c b/libssh/wrapper.c
index acbcfc2d..f72adaa1 100644
--- a/libssh/wrapper.c
+++ b/libssh/wrapper.c
@@ -493,7 +493,7 @@ static int crypt_set_algorithms1(SSH_SESSION *session){
while(ssh_ciphertab[i].name && strcmp(ssh_ciphertab[i].name,"3des-cbc-ssh1"))
++i;
if(!ssh_ciphertab[i].name){
- ssh_set_error(NULL,SSH_FATAL,"cipher 3des-cbc-ssh1 not found !");
+ ssh_set_error(session,SSH_FATAL,"cipher 3des-cbc-ssh1 not found !");
return -1;
}
session->next_crypto->out_cipher=cipher_new(i);