1
1

1092 Коммитов

Автор SHA1 Сообщение Дата
Andreas Schneider
16870abed7 Add more warnings to gcc. 2009-09-01 11:03:48 +02:00
Aris Adamantiadis
65850a1bad Fix "void * ptr used in pointer arithmetic" warng 2009-08-29 19:04:53 +02:00
Aris Adamantiadis
1137f0d48c Change SSH_LOG_RARE to SSH_LOG_PACKET in packet.c 2009-08-29 18:59:13 +02:00
Andreas Schneider
d9a50f04e7 Fix ssh_write_knownhost() if ~/.ssh doesn't exist. 2009-08-26 09:39:21 +02:00
Andreas Schneider
4aa7d73b43 Fix typo. 2009-08-25 15:23:28 +02:00
Andreas Schneider
3804e72e24 Fix linking on solaris.
libresolv and librt are required.
2009-08-25 15:07:29 +02:00
Andreas Schneider
b8508020e5 Link shared libraries with --as-needed by default. 2009-08-25 15:06:56 +02:00
Andreas Schneider
324be0eabd Fix poll sturct, ISO C doesn't allow unnamed unions. 2009-08-25 14:16:41 +02:00
Andreas Schneider
cfe5f83cf8 Fix shadow compiler warning in sample code. 2009-08-25 13:59:40 +02:00
Andreas Schneider
a1ad0deb32 Set gcc to c99 standard and enable pedantic. 2009-08-25 13:58:30 +02:00
Andreas Schneider
7c575a2418 Fix typedef collisons on Solaris. 2009-08-25 13:54:46 +02:00
Aris Adamantiadis
47cac13c0a Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh 2009-08-24 16:08:17 +02:00
Aris Adamantiadis
16d1ef8933 buffer initialization change 2009-08-24 16:07:45 +02:00
Andreas Schneider
b500d76929 Add Solaris search path for libraries. 2009-08-24 14:49:07 +02:00
Aris Adamantiadis
aef9471217 fix memleak through requests 2009-08-23 23:43:07 +02:00
Aris Adamantiadis
f3454d571e ssh_scp_request_get_{filename,permissions,size} 2009-08-23 23:40:30 +02:00
Aris Adamantiadis
1df1f86f7e added ssh_scp_read 2009-08-23 23:24:46 +02:00
Aris Adamantiadis
f9db9c5a9c added ssh_scp_accept_request 2009-08-23 22:43:57 +02:00
Aris Adamantiadis
96bafeca4c corrected errors 2009-08-23 22:40:15 +02:00
Aris Adamantiadis
626d8ec637 forgot to set up state 2009-08-23 22:38:29 +02:00
Aris Adamantiadis
f3b36af50e added ssh_scp_deny_request 2009-08-23 22:36:32 +02:00
Aris Adamantiadis
385b640d1d Implementation of ssh_scp_pull_request
Still needed: code in ssh_scp_init,
implementation of ssh_scp_read
ssh_scp_request_get_filename,
ssh_scp_request_get_size,
ssh_scp_request_get_mode,
ssh_scp_deny_request
ssh_scp_accept_request
!!
2009-08-23 22:04:51 +02:00
Aris Adamantiadis
d4bc6fa954 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
Conflicts:
	include/libssh/priv.h
2009-08-23 16:41:29 +02:00
Aris Adamantiadis
8bae43876f experimental callback system 2009-08-23 16:33:59 +02:00
Aris Adamantiadis
fbfea94559 Pending work 2009-08-23 16:29:31 +02:00
Aris Adamantiadis
6a04b43a45 added ssh_scp_request_new,ssh_scp_request_struct 2009-08-23 15:23:48 +02:00
Aris Adamantiadis
049c62098c add ssh_scp_push_directory,ssh_scp_leave_directory
Not yet carefully tested
2009-08-23 14:57:03 +02:00
Aris Adamantiadis
6801959989 Use ssh_basename on ssh_scp_file_push'ed files 2009-08-23 14:28:38 +02:00
Andreas Schneider
8463d9d7c6 Improve header checks on windows. 2009-08-21 15:15:49 +02:00
Andreas Schneider
c497f057a0 Improve detection for required libraries on Solaris. 2009-08-21 15:15:18 +02:00
Andreas Schneider
fc0af0f0d8 Add openssl include dir on Solaris. 2009-08-21 14:54:24 +02:00
Andreas Schneider
330c2004a1 Make the functions public. 2009-08-21 10:17:58 +02:00
Andreas Schneider
0b10493e90 Added ssh_basename() and ssh_dirname(). 2009-08-21 10:16:36 +02:00
Andreas Schneider
d23e64fc52 Add a warning if wspiapi.h doesn't exist. 2009-08-20 12:32:35 +02:00
Andreas Schneider
fd83d69440 Improve the configure checks. 2009-08-20 11:50:49 +02:00
Andreas Schneider
461e46b814 Improve checks for Windows version and wspiapi.h. 2009-08-20 11:43:37 +02:00
Andreas Schneider
4f95146151 Fix build warnings on Windows. 2009-08-20 10:50:02 +02:00
Andreas Schneider
3eb21053d0 Add a portable define to print size_t. 2009-08-20 10:49:27 +02:00
Andreas Schneider
92db6f8c6d Remove DEBUG_CRYPTO variable.
You can enable it with cmake -DWITH_DEBUG_CRYPTO:BOOL=TRUE.
2009-08-20 10:44:31 +02:00
Andreas Schneider
0fd0c6d293 Don't shadow global vairables. 2009-08-19 10:52:30 +02:00
Andreas Schneider
b49973f17b Fix compile warnings. 2009-08-17 08:56:43 +02:00
Andreas Schneider
978d265da8 Build channel_accept() on Windows too. 2009-08-16 19:01:13 +02:00
Vic Lee
cf6dddce34 Fix double free pointer crash in dsa_public_to_string
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-16 14:40:19 +02:00
Vic Lee
2c4bbe51dd Fix return code from packet_wait in channel_request
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-16 14:40:18 +02:00
Andreas Schneider
756d441f8c Fix channel_accept_x11 on Windows. 2009-08-16 14:40:18 +02:00
Vic Lee
db6aa88bc4 Add forward listening feature
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-16 14:40:18 +02:00
Aris Adamantiadis
e707af1cd7 Fix channel_get_exit_status bug reported by VicLee
It would return -1 if the channel received the exit status
and the close message at same time.
2009-08-16 13:51:55 +02:00
Aris Adamantiadis
380a70d650 fix ssh_finalize which didn't clear the flag 2009-08-13 23:26:17 +02:00
Andreas Schneider
2dc3b5c675 Add sftp_extension_supported() function. 2009-08-12 17:13:42 +02:00
Andreas Schneider
63011c29a0 Implement an example for statvfs. 2009-08-12 17:13:42 +02:00