Andreas Schneider
|
47ff8d4679
|
Fix compile error.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@579 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:23:45 +00:00 |
|
Andreas Schneider
|
0f075f4d95
|
Improve sftp_packet_free().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@578 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:22:22 +00:00 |
|
Andreas Schneider
|
57a5c50a54
|
Add more error checks to sftp_read_and_dispatch().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@577 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:21:36 +00:00 |
|
Andreas Schneider
|
e99966772e
|
Add more error checks to sftp_get_message().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@576 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:17:20 +00:00 |
|
Andreas Schneider
|
8a3c417e14
|
Improve sftp_message_free().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@575 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:09:54 +00:00 |
|
Andreas Schneider
|
e6c0155567
|
Add more error checks to sftp_message_new().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@574 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 15:06:28 +00:00 |
|
Andreas Schneider
|
ea59faaec9
|
Add more error checks to sftp_packet_read().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@573 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 14:52:04 +00:00 |
|
Andreas Schneider
|
6402559f28
|
Reformat sftp_packet_write().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@572 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 14:48:00 +00:00 |
|
Andreas Schneider
|
9766b2f8d2
|
Rename buffer_add_data_begin() to buffer_prepend_data().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@571 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 14:31:43 +00:00 |
|
Andreas Schneider
|
b875ce15e8
|
Add more error checks to sftp server init functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@570 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 14:05:11 +00:00 |
|
Andreas Schneider
|
f59630cbbc
|
Improve sftp_new() and sftp_free().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@569 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-22 13:59:13 +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
|
bfc428a0da
|
Change back to a initialized variable and document ssh_finalize().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@557 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 16:19:24 +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
|
c373e9bb03
|
Build with SSH1 and server by default.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@549 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 12:07:31 +00:00 |
|
Andreas Schneider
|
db2ff03392
|
Simplify signature_from_string() a bit.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@548 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 12:02:34 +00:00 |
|
Andreas Schneider
|
dc5ef34b54
|
Fix memleak in sample.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@547 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 11:24:35 +00:00 |
|
Andreas Schneider
|
f402e8d113
|
Add error checks to ssh_do_sign_with_agent() and fix a memleak.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@546 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 11:22:27 +00:00 |
|
Andreas Schneider
|
ff73826b45
|
Replace some strcmp with switch to make it a bit faster.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@545 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 11:18:35 +00:00 |
|
Andreas Schneider
|
95cd02c000
|
Make use of ssh_type_from_name().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@544 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 11:05:21 +00:00 |
|
Andreas Schneider
|
263b8d4f9c
|
Some cleanup for publickey_to_string().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@543 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 10:59:53 +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
|
fa01372c88
|
Add more error checks to ssh_sign_session_id().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@541 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 09:57:20 +00:00 |
|
Andreas Schneider
|
9dab7771fa
|
Fix a segfault if we try to a signature.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@540 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 09:47:22 +00:00 |
|
Andreas Schneider
|
038e6411da
|
Add more error checks to RSA_do_sign().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@539 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 09:44:50 +00:00 |
|
Andreas Schneider
|
4308bb559c
|
Add more error checks to signature_from_string().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@538 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 09:33:32 +00:00 |
|
Andreas Schneider
|
3df5a0dabe
|
Add error checks to signature_to_string().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@537 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 09:14:44 +00:00 |
|
Andreas Schneider
|
192657d88c
|
Add check for the return value of gcry_sexp_find_token().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@536 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 08:56:22 +00:00 |
|
Andreas Schneider
|
57a6388b82
|
Add more error checks to ssh_encrypt_rsa1().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@535 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 08:50:40 +00:00 |
|
Andreas Schneider
|
b9e91ce95a
|
Add more error checks to ssh_do_sign().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@534 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 08:31:26 +00:00 |
|
Andreas Schneider
|
e4c521d896
|
Use a reference counter for the crypto functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@533 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-18 08:07:11 +00:00 |
|
Andreas Schneider
|
70b422d0fb
|
Don't leak memory in publickey_make_* functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@532 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 18:30:25 +00:00 |
|
Andreas Schneider
|
91afe0de8a
|
Revert commit 530.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@531 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 18:29:31 +00:00 |
|
Andreas Schneider
|
e85b16ae49
|
Don't leak memory in error path.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@530 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 18:26:59 +00:00 |
|