aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/libssh/priv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 685630bd..9953513f 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -511,10 +511,10 @@ PRIVATE_KEY *_privatekey_from_file(void *session,char *filename,int type);
/* in keys.c */
char *ssh_type_to_char(int type);
-PUBLIC_KEY *publickey_make_dss(BUFFER *buffer);
-PUBLIC_KEY *publickey_make_rsa(BUFFER *buffer,char *type);
-PUBLIC_KEY *publickey_from_string(STRING *pubkey_s);
-SIGNATURE *signature_from_string(STRING *signature,PUBLIC_KEY *pubkey,int needed_type);
+PUBLIC_KEY *publickey_make_dss(SSH_SESSION *session, BUFFER *buffer);
+PUBLIC_KEY *publickey_make_rsa(SSH_SESSION *session, BUFFER *buffer,char *type);
+PUBLIC_KEY *publickey_from_string(SSH_SESSION *session, STRING *pubkey_s);
+SIGNATURE *signature_from_string(SSH_SESSION *session, STRING *signature,PUBLIC_KEY *pubkey,int needed_type);
void signature_free(SIGNATURE *sign);
STRING *ssh_do_sign(SSH_SESSION *session,BUFFER *sigbuf,
PRIVATE_KEY *privatekey);