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 |
|
Andreas Schneider
|
a925c266ca
|
Revert commit 527.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@529 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 18:22:53 +00:00 |
|
Andreas Schneider
|
c48d04b2c7
|
space_tokenize should be rewritten.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@528 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:56:44 +00:00 |
|
Andreas Schneider
|
44ab293f0b
|
Don't leak memory.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@527 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:53:24 +00:00 |
|
Andreas Schneider
|
bf4d29b963
|
Fix memory leak.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@526 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:50:05 +00:00 |
|
Andreas Schneider
|
25e80032ba
|
Don't leak memory in error path.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@525 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:47:53 +00:00 |
|
Andreas Schneider
|
7e3307cb44
|
Fix openSSL support.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@524 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:38:51 +00:00 |
|
Andreas Schneider
|
cf8e444764
|
Fix build with openssl.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@523 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 14:13:38 +00:00 |
|
Andreas Schneider
|
109c10bdfd
|
Don't shadow a global variable.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@522 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 13:16:54 +00:00 |
|
Andreas Schneider
|
3216520b4c
|
Reformat some of the code.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@521 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 13:13:14 +00:00 |
|
Andreas Schneider
|
09fdf0e8e6
|
Make the cipher table more readable.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@520 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 13:01:56 +00:00 |
|
Andreas Schneider
|
845615cdd8
|
Add return values to set_encrypt_key and set_decrypt_key.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@519 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 12:52:27 +00:00 |
|
Andreas Schneider
|
32fd37d1ad
|
Reformat HMAC functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@518 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 12:03:59 +00:00 |
|
Andreas Schneider
|
42bdb90751
|
Reformat MD5 functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@517 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 11:59:17 +00:00 |
|
Andreas Schneider
|
2ed09734eb
|
Cleanup SHA1 functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@516 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 08:37:28 +00:00 |
|
Andreas Schneider
|
b15a04e463
|
Improve sha1_init().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@515 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-17 08:31:59 +00:00 |
|
Andreas Schneider
|
2b12ffc820
|
Fix build warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@514 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-16 17:38:15 +00:00 |
|
Andreas Schneider
|
55d42b9c53
|
Fix typo.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@513 7dcaeef0-15fb-0310-b436-a5af3365683c
|
2009-04-16 17:21:47 +00:00 |
|