Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | dh: Fix packing a pointer into the buffer. | Andreas Schneider | 2014-08-25 | 1 | -2/+2 | |
| | | | | | | Thanks to Giovanni Panozzo <giovanni@panozzo.it>. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | tests: Fix writing the '\0'. | Andreas Schneider | 2014-08-18 | 1 | -2/+2 | |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | ec: Fix build on CentOS. | Andreas Schneider | 2014-08-18 | 2 | -0/+2 | |
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | tests: Use public testkey passphrase function in pki test. | Andreas Schneider | 2014-08-15 | 1 | -7/+6 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | torture: Add public testkey passphrase function. | Andreas Schneider | 2014-08-15 | 2 | -0/+6 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | tests: Use public testkeys in pki test. | Andreas Schneider | 2014-08-15 | 1 | -178/+74 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | torture: Add public testkey functions. | Andreas Schneider | 2014-08-15 | 2 | -0/+218 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | tests: Make write file a public torture function. | Andreas Schneider | 2014-08-15 | 3 | -30/+32 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | auth: Fix a memory leak in agent publickey auth. | Andreas Schneider | 2014-08-15 | 1 | -1/+2 | |
| | | | | | | | CID: 1230358 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | tests: Make sure we null terminate the buffer. | Andreas Schneider | 2014-08-15 | 1 | -3/+4 | |
| | | | | | | | CID: 1230359 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | packet: Check return value of ssh_buffer_unpack(). | Andreas Schneider | 2014-08-15 | 1 | -7/+16 | |
| | | | | | | | CID: 1230357 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | messages: Check return value of ssh_buffer_unpack(). | Andreas Schneider | 2014-08-15 | 1 | -1/+6 | |
| | | | | | | | CID: 1230356 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | tests: Fix memory leak in buffer test. | Andreas Schneider | 2014-08-15 | 1 | -0/+2 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | buffer: Make sure rc is initialized. | Andreas Schneider | 2014-08-15 | 1 | -2/+2 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | libgcrypt: Fix initializer name. | Andreas Schneider | 2014-08-15 | 1 | -22/+22 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | bignum: Add missing include. | Andreas Schneider | 2014-08-15 | 1 | -0/+2 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | messages: Fix two ssh_buffer_unpack(). | Andreas Schneider | 2014-08-07 | 1 | -10/+11 | |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | |||||
* | Fix sftp endianess bugs | Aris Adamantiadis | 2014-08-06 | 1 | -29/+32 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | bignums: detach bignum-related functions from dh.c. | Aris Adamantiadis | 2014-08-06 | 7 | -76/+130 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | crypto: fix secure burning, structure members naming | Aris Adamantiadis | 2014-08-06 | 2 | -7/+6 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | torture_pki: avoid generating keys with ssh-keygen | Aris Adamantiadis | 2014-08-06 | 1 | -96/+212 | |
| | | | | | | | | ssh-keygen makes the tests very slow because new keys are generated at the start of every test. ssh-keygen on OSX doesn't support ecdsa keys, even if libcrypto does. Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | tests: test the canary feature in buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -1/+27 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffer: add a hidden canary to detect format errors | Aris Adamantiadis | 2014-08-06 | 2 | -5/+23 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt sftpserver.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -73/+41 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt sftp.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 2 | -378/+230 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt session.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -37/+15 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt server.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -178/+108 | |
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt pcap.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -96/+53 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt ecdh.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -23/+9 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt packet.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -13/+12 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt messages.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -425/+161 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt gssapi.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -133/+47 | |
| | ||||||
* | buffers: adapt curve25519.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -15/+8 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt client.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -28/+14 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffers: adapt channels.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -406/+201 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffer: adapt dh.c to new ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -96/+40 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffer: adapt kex.c to new ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -11/+13 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | buffer: adapt auth.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -451/+91 | |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | tests: test for ssh_buffer_(un)pack | Aris Adamantiadis | 2014-08-06 | 1 | -0/+98 | |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
* | Buffer: add ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 2 | -0/+301 | |
| | | | | | | | That function permits chaining of buffer values to minimize buffer handling in packet sending code. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | examples: cast arguments of connect(2) | Aris Adamantiadis | 2014-07-06 | 1 | -1/+1 | |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | log: Add check for return value. | Andreas Schneider | 2014-06-10 | 1 | -0/+4 | |
| | | | | | For some reason I got a segfault in gdb here. Make sure it works correctly. | |||||
* | tests: Add test for the logging function. | Andreas Schneider | 2014-06-10 | 1 | -0/+40 | |
| | ||||||
* | session: fix ssh_session->srv.ecdsa_key leak | Jon Simons | 2014-05-28 | 1 | -0/+4 | |
| | | | | | Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | cmake: Fix the build on Windows. | Andreas Schneider | 2014-05-27 | 1 | -66/+68 | |
| | ||||||
* | cmake: Fix libssh cmake-config files. | Andreas Schneider | 2014-05-22 | 2 | -7/+13 | |
| | ||||||
* | Set the correct version in CMakeLists.txt | Hani Benhabiles | 2014-05-20 | 1 | -2/+2 | |
| | | | | | Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
* | pki: Fix build without ECC support. | Andreas Schneider | 2014-05-09 | 1 | -0/+5 | |
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
* | pki: Add missing semi-colon. | Andreas Schneider | 2014-05-07 | 1 | -1/+1 | |
| | ||||||
* | kex: NULL checks for 'first_kex_packet_follows' | Jon Simons | 2014-05-06 | 1 | -11/+17 | |
| | | | | | | | | Add NULL checks to 'is_first_kex_packet_follows_guess_wrong' to ensure that a 'strdup(NULL)' path can not be taken. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> |