Andreas Schneider
104e6d39ab
Add a sftp_tel64() function.
2009-07-25 17:55:58 +02:00
Andreas Schneider
3f778d9a31
Add ssh_clean_pubkey_hash() which is needed on Windows.
2009-07-25 17:52:00 +02:00
Aris Adamantiadis
a935ad1857
New example directory with the begining of a scp
2009-07-25 17:03:01 +02:00
Aris Adamantiadis
7abb3941c8
Bumped the version numbers to 0.4.0 in HEAD
2009-07-25 16:32:10 +02:00
Andreas Schneider
194880b869
Update map file.
2009-07-25 11:56:59 +02:00
Andreas Schneider
737f588b3b
Fix a typo.
2009-07-25 11:55:42 +02:00
Andreas Schneider
6d5b36fb79
Add symlink and readlink test to sample.
2009-07-25 11:55:42 +02:00
Andreas Schneider
8ce6bd3459
Add sftp_readlink function.
2009-07-25 11:55:42 +02:00
Andreas Schneider
5b8338d115
Add sftp_symlink function.
2009-07-25 11:55:33 +02:00
Aris Adamantiadis
e73cbbe18c
Added a threading + sftp stress testcase
2009-07-24 22:52:10 +02:00
Aris Adamantiadis
69a01b3657
move all u32,u16,u8 and u64 declarations in priv.h
...
And fix all headers which need u32,u8,u64
2009-07-24 22:31:39 +02:00
Aris Adamantiadis
e406b81d34
Missed something in channel_select for CHANNEL
2009-07-24 22:24:10 +02:00
Aris Adamantiadis
fdc2751952
Make the SSH_SAFE_NAMESPACE flag active
2009-07-24 22:20:41 +02:00
Aris Adamantiadis
fa11083fcb
Change refs from AGENT * to ssh_agent
...
Fixes also a typo in ssh_agent declaration
2009-07-24 22:19:40 +02:00
Aris Adamantiadis
2bc8819e8f
Changes all CHANNEL * to ssh_channel
2009-07-24 22:15:33 +02:00
Aris Adamantiadis
23b6c95e04
Change PRIVATE_KEY * to ssh_private_key
2009-07-24 22:08:04 +02:00
Aris Adamantiadis
c041bcc6d9
Forgot sample* in previous BUFFER change
2009-07-24 22:03:36 +02:00
Aris Adamantiadis
fc5dd23afa
Changed all PUBLIC_KEY * to ssh_public_key
2009-07-24 22:02:32 +02:00
Aris Adamantiadis
91d0660cc3
Changed all occurences of BUFFER * to ssh_buffer
2009-07-24 21:56:11 +02:00
Aris Adamantiadis
fb5769b4be
You always forget SSH1 ...
2009-07-24 21:47:23 +02:00
Aris Adamantiadis
56ee212641
Change all occurences of STRING * to ssh_string
2009-07-24 21:45:41 +02:00
Aris Adamantiadis
8f3891e968
moved try_publickey_from_file in priv.h
...
Had nothing to do in libssh.h. 100% sure nobody
used it since one of the structure declaration
was not public.
2009-07-24 21:23:07 +02:00
Aris Adamantiadis
958a775afa
replacing keys_struct with ssh_keys_struct
2009-07-24 21:18:15 +02:00
Aris Adamantiadis
e776dc16c9
Fixed namespace problem in public structures
...
changed
struct string_struct to ssh_string_struct
buffer_struct to ssh_buffer_struct
and so on.
Should not break apps using the caps version of these
2009-07-24 20:49:46 +02:00
Andreas Schneider
9450a3c987
Fix a possible segfault in sftp_canonicalize_path().
2009-07-23 18:34:25 +02:00
Andreas Schneider
1939a55c3c
Fix getaddrinfo and gethostbyname build problems on Solaris.
2009-07-23 11:57:17 +02:00
Andreas Schneider
2a116bb291
Fix OpenSSL include file checks on Solaris.
2009-07-23 11:54:32 +02:00
Andreas Schneider
d01c7320f9
Fix finding OpenSSL on Solaris.
2009-07-23 09:30:14 +02:00
Andreas Schneider
ea0315ed88
Add cmake check for big endian.
2009-07-23 09:25:36 +02:00
Andreas Schneider
85a5eb9499
Fix a segfault if a NULL pointer is passed to ssh_disconnect().
2009-07-22 16:04:41 +02:00
Andreas Schneider
3cd06a1f26
Don't segfault if the session or the answer is NULL.
2009-07-22 12:18:34 +02:00
Andreas Schneider
19c3d02805
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
2009-07-21 14:12:25 +02:00
Andreas Schneider
b534bfc520
Fix ssh_write_knownhost() which always returned -1.
...
fwrite() return the the number of items written not the size of the
buffer.
2009-07-21 14:07:23 +02:00
Andreas Schneider
ef2c8d66f1
Add compile flags and test for compiler options only if we use gcc.
2009-07-21 11:14:54 +02:00
Andreas Schneider
1a6038baa5
Only add additional warnings if we have a GNU compiler.
2009-07-21 11:10:09 +02:00
Andreas Schneider
41a8fb5810
Make the ssh_userauth_kbdint functions to get the prompts const.
...
They shouldn't be modified or free'd by a user.
2009-07-21 10:34:21 +02:00
Andreas Schneider
8843d8b68d
Fix sol8 + ss11 compile errors.
...
Thanks to tysonite@gmail.com .
2009-07-20 22:50:45 +02:00
Andreas Schneider
2aec79ce36
Add missing changelog entries.
2009-07-14 11:10:22 +02:00
Aris Adamantiadis
bbcbc8425c
Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fix
2009-07-14 10:09:18 +02:00
Andreas Schneider
ed8178f3c3
Fix build on windows, missing include.
2009-07-13 13:33:52 +02:00
Aris Adamantiadis
933527fc77
Put #ifdef around AI_NUMERICSERV which doesn't seem std
2009-07-13 13:29:00 +02:00
Aris Adamantiadis
bf8d139b2d
Enable conditional compiling for IP regex code.
2009-07-13 12:32:06 +02:00
Aris Adamantiadis
093983b804
forgot init.c in copyright updates
2009-07-13 00:25:04 +02:00
Aris Adamantiadis
103292dd99
Fixed copyright notices
2009-07-13 00:23:42 +02:00
Aris Adamantiadis
76b6b1c694
typo in sample.c
2009-07-13 00:19:47 +02:00
Aris Adamantiadis
1301864f92
Reflect the SSH_SERVER_NOT_KNOWN add-on in sample
2009-07-12 23:17:12 +02:00
Aris Adamantiadis
d5b6f6cc37
Added return code SSH_SERVER_FILE_NOT_FOUND
...
This error is returned by ssh_is_server_known when known_hosts
file does not exist and gives more action to the developer.
2009-07-12 23:13:21 +02:00
Aris Adamantiadis
052073c36d
Set correct hint when connecting to an IP address
...
libssh now uses a regular expression against destination
hostnames to match numerical IP addresses and set the
appropriate hint.
Patches also add init and finalize code to compile the regexp
2009-07-12 23:01:43 +02:00
Aris Adamantiadis
60c778ad7f
fix int -> socket_t in SSH_POLL
2009-07-04 14:16:13 +02:00
Aris Adamantiadis
71100dadcd
Temporary move of ssh_poll_* back to priv.h
...
We'll see later what needs to be put back in public
functions
2009-07-04 13:52:34 +02:00