From 5f7c84f900b81e3bbff55378f8170ddf150daf9c Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 4 Oct 2005 22:11:19 +0000 Subject: added the gcrypt patch (without gcrypt as default library). still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libssh/auth1.c') diff --git a/libssh/auth1.c b/libssh/auth1.c index 65fc9058..40cccda1 100644 --- a/libssh/auth1.c +++ b/libssh/auth1.c @@ -23,6 +23,7 @@ MA 02111-1307, USA. */ #include "libssh/ssh1.h" #include #include +#include /* static void burn(char *ptr){ @@ -187,7 +188,7 @@ int ssh_userauth1_password(SSH_SESSION *session,char *username,char *password){ */ password_s=string_new(128); ssh_get_random(password_s->string,128,0); - strcpy(password_s->string,password); + strcpy((char *)password_s->string,password); } packet_clear_out(session); -- cgit v1.2.3