Andreas Schneider
|
766bae9d76
|
Fix build with MSVC.
|
2009-07-30 10:45:58 +02:00 |
|
Andreas Schneider
|
549fd32574
|
Fix compile errors in keyfiles.
|
2009-07-27 20:49:38 +02:00 |
|
Aris Adamantiadis
|
23b6c95e04
|
Change PRIVATE_KEY * to ssh_private_key
|
2009-07-24 22:08:04 +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
|
56ee212641
|
Change all occurences of STRING * to ssh_string
|
2009-07-24 21:45:41 +02:00 |
|
Aris Adamantiadis
|
958a775afa
|
replacing keys_struct with ssh_keys_struct
|
2009-07-24 21:18:15 +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 |
|
Aris Adamantiadis
|
bbcbc8425c
|
Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fix
|
2009-07-14 10:09:18 +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
|
8724f97a19
|
Fixed memory leak in ssh_is_server_known()
|
2009-06-22 23:30:50 +02:00 |
|
Aris Adamantiadis
|
730af24de8
|
Fixed a use-after-free in match_hashed_host()
|
2009-06-21 22:09:19 +02:00 |
|
Andreas Schneider
|
5a755a8219
|
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-06-09 12:03:00 +00:00 |
|
Andreas Schneider
|
2e0b2e2e91
|
Fix the vim modeline and place it at the end of the file.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-05-12 17:49:23 +00:00 |
|
Andreas Schneider
|
2934765c76
|
Change variable names of the keys_struct to avoid conflicts.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@753 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-05-11 09:24:39 +00:00 |
|
Andreas Schneider
|
567cc5984a
|
Improve the autopubkey authentication.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@658 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-30 13:58:20 +00:00 |
|
Andreas Schneider
|
2c75ad7e19
|
Improve auto public key authentication.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@636 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-28 19:33:28 +00:00 |
|
Andreas Schneider
|
9f7d4d2d60
|
Improve ssh_write_knownhost.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@635 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-28 07:25:19 +00:00 |
|
Andreas Schneider
|
511213872b
|
Improve ssh_is_server_known.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@634 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-27 18:21:12 +00:00 |
|
Andreas Schneider
|
8dbe59efde
|
Improve match_hashed_host.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@633 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-27 18:08:46 +00:00 |
|
Andreas Schneider
|
b39fcd6470
|
Improve check_public_key().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@632 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-27 17:59:48 +00:00 |
|
Andreas Schneider
|
a19aebba18
|
Improve ssh_get_knownhost_line.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@631 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-27 17:52:09 +00:00 |
|
Andreas Schneider
|
afe0c8b2b5
|
Use ctype to make alldigits simpler.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@568 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 14:09:21 +00:00 |
|
Andreas Schneider
|
e067061263
|
Improve publickey_from_file().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@567 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 09:14:35 +00:00 |
|
Andreas Schneider
|
9001a34cd3
|
Cleanup and add more error checks to _privatekey_from_file().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@566 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 08:58:08 +00:00 |
|
Andreas Schneider
|
2f51befc0f
|
Add functions without any passphrase.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@565 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 08:42:42 +00:00 |
|
Andreas Schneider
|
03edd0ebb1
|
Cleanup and add more error checks to privatekey_from_file().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@564 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 08:11:24 +00:00 |
|
Andreas Schneider
|
9704df65e3
|
Rename privatekey_free() to be consistent with publickey_free().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-20 07:26:50 +00:00 |
|
Andreas Schneider
|
a3c820cf94
|
Add more error checks to read_dsa_privatekey().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@562 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-19 09:24:24 +00:00 |
|
Andreas Schneider
|
e6474a34c3
|
Add more error checks to read_rsa_privatekey().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@561 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-19 09:20:24 +00:00 |
|
Andreas Schneider
|
b7f93a4779
|
The description should be const.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@560 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-19 09:04:56 +00:00 |
|
Andreas Schneider
|
cc92391034
|
Add more error checks to privatekey_file_to_buffer().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@559 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-19 09:01:16 +00:00 |
|
Andreas Schneider
|
a1e154e9d5
|
Use POSIX return values and check them!
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@558 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-19 08:44:35 +00:00 |
|
Andreas Schneider
|
44924db3e9
|
Add FIXME.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@556 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:57:23 +00:00 |
|
Andreas Schneider
|
ab8523a391
|
Fix gcrypt error if no auth callback has been set.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@555 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:56:36 +00:00 |
|
Andreas Schneider
|
460969a9ce
|
Improve gcrypt private_key functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@554 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:22:59 +00:00 |
|
Andreas Schneider
|
5ef5841f99
|
Some minor improvements to passphrase_to_key().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@553 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:15:45 +00:00 |
|
Andreas Schneider
|
163fbfa44d
|
Reformat asn1_check_sequence() and read_line().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@552 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:12:50 +00:00 |
|
Andreas Schneider
|
479744b146
|
Add more error checks to asn1_get_int().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@551 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 15:06:43 +00:00 |
|
Andreas Schneider
|
a58b7b93de
|
Reformat some functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@550 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 14:56:56 +00:00 |
|
Andreas Schneider
|
d20ae18b00
|
Fix segfault with gcrypt.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@542 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 10:53:28 +00:00 |
|
Andreas Schneider
|
6c6094538f
|
Use const where it should be used.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@407 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-05 11:26:34 +00:00 |
|
Andreas Schneider
|
db4ff30f38
|
Make use of const.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@406 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-05 10:59:16 +00:00 |
|
Andreas Schneider
|
f8ef75c510
|
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@396 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-05 10:00:41 +00:00 |
|
Andreas Schneider
|
139eb4696c
|
Fix build warnings, mostly const chars.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@394 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-05 09:41:54 +00:00 |
|
Andreas Schneider
|
f7959bd5eb
|
Improve free functions of the keyfiles.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@389 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-04 14:38:39 +00:00 |
|
Andreas Schneider
|
30d1bf863e
|
Add NULL check to private_key_free().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@383 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-03 12:57:19 +00:00 |
|
Andreas Schneider
|
c195e0fa7d
|
There is no file to close here.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@339 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-02 08:33:04 +00:00 |
|
Andreas Schneider
|
891539af6c
|
Add memory error checks for crypto wrapper functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@330 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-01 21:24:16 +00:00 |
|
Andreas Schneider
|
ddd10236bd
|
Add memory error checking to keyfile functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@319 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-01 11:03:06 +00:00 |
|