diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-06-12 20:40:43 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-06-12 20:40:43 +0000 |
commit | da3d665a13e7989a9cf78d07738a92981f6e3486 (patch) | |
tree | d75038a70977204b74b610417379588436001c86 /libssh/keys.c | |
parent | fe51f9c7662b7391f80953bedc4fe61b89013913 (diff) | |
download | libssh-da3d665a13e7989a9cf78d07738a92981f6e3486.tar.gz libssh-da3d665a13e7989a9cf78d07738a92981f6e3486.tar.xz libssh-da3d665a13e7989a9cf78d07738a92981f6e3486.zip |
begin fixing the ssh_say everywhere
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/keys.c')
-rw-r--r-- | libssh/keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/keys.c b/libssh/keys.c index 2839f28..18d0b37 100644 --- a/libssh/keys.c +++ b/libssh/keys.c @@ -535,7 +535,7 @@ SIGNATURE *signature_from_string(SSH_SESSION *session, STRING *signature,PUBLIC_ return NULL; } if(len<rsalen) - ssh_say(0,"Len %d < %d\n",len,rsalen); + ssh_log(session,SSH_LOG_RARE,"RSA signature len %d < %d",len,rsalen); sign->type=TYPE_RSA; #ifdef HAVE_LIBGCRYPT gcry_sexp_build(&sig,NULL,"(sig-val(rsa(s %b)))",string_len(e),e->string); @@ -576,7 +576,7 @@ void signature_free(SIGNATURE *sign){ #endif break; default: - ssh_say(1,"freeing a signature with no type !\n"); + ssh_log(NULL,SSH_LOG_RARE,"freeing a signature with no type !\n"); } free(sign); } |