aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-30cmake: Prepare for release.release-0-5-0Andreas Schneider2-3/+5
2011-05-28session: Fix return code of ssh_blocking_flush().Andreas Schneider1-2/+2
(cherry picked from commit 3c21281bf07bceb61a321e11348cd54e35b5e869)
2011-05-27remove "0.5.0 is dev" in the docAris Adamantiadis1-2/+2
(cherry picked from commit 3bc46c3bf0f73237aaa70088d9a691a095c73558)
2011-05-27Forgot a cast to remove warningsAris Adamantiadis1-2/+2
(cherry picked from commit ac167c90775b757adefb9f3ec6b3cfbcdef78c1a)
2011-05-27Fix bug #5, channel_read_nonblocking that blocksAris Adamantiadis1-1/+1
2011-05-27Fix memory leak when compression is usedMark Riordan1-1/+17
Signed-off-by: Mark Riordan <mriordan@ipswitch.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit dcea8db6b221ab812c66bfabd3c0a00aada78c96)
2011-05-26sftp: Reset eof on seek operations.Andreas Schneider1-0/+3
This fixes bug #48. (cherry picked from commit c483418b8210bc47a765f6b0e0dc99aec63e80fd)
2011-05-26misc: Fix compilation on Windows.Andreas Schneider1-4/+5
(cherry picked from commit ba03388031530fcf49b2c37ce0da801254e5075f)
2011-05-25cmake: Fix detection of clock_gettime.Andreas Schneider3-14/+16
2011-05-25Replace clock_gettime with gettimeofday when missingAris Adamantiadis1-1/+10
(cherry picked from commit 65282841e2a3e8af634759b6f7b39581a885d9d5)
2011-05-25Introduced ssh_timeout_elapsed functionsAris Adamantiadis7-16/+162
Functions to mesure elapsed time before and after a serie of calls. Introduces a dependancy to clock_gettime() and librt, hope this doesn't break anything. Porting to gettimeofday() should not be too hard. (cherry picked from commit 59f7647cd97c62ab7a26725e5a166dcb54b27bc6)
2011-05-19Revert "Use BIO* in _privatekey_from_file [Oliver Stöneberg]"Andreas Schneider1-0/+4
This reverts commit da8356b477fc94a18b8098f021a25d7e24ee79de.
2011-05-17keyfiles: Move FILE* into HAVE_LIBGCRYPT code.Oliver Stöneberg1-9/+0
(cherry picked from commit c7c563eb8ad01ab5750b5ea4e72031ebd298651c)
2011-05-17keyfiles: Use BIO* in _privatekey_from_file().Oliver Stöneberg1-4/+13
(cherry picked from commit 82df5dc2083a6f7234d1545bd671ee1b5b4680b6)
2011-05-17Use BIO* in _privatekey_from_file [Oliver Stöneberg]Oliver Stöneberg1-4/+0
_privatekey_from_file: moved FILE* into HAVE_LIBGCRYPT code / added missing #ifdef's to default case of switch [Oliver Stöneberg]
2011-05-17socket: Fixed use-after-free.Oliver Stöneberg1-0/+6
When s->callbacks->exception() was called in ssh_socket_pollcallback() we had a use after free bug. (cherry picked from commit 986676378943353cdcf156493812737dc91befdd)
2011-05-17keyfiles: Fixed compilation without defines.Oliver Stöneberg1-0/+4
This fixes cppcheck issues. (cherry picked from commit 7f0761885cb21c2013f7b0fc562187a1909a2048)
2011-05-17tests: Fixed some cppcheck warnings.Oliver Stöneberg2-2/+4
(cherry picked from commit e3311d03dba7ae281597cf5de235bcefda44457c)
2011-05-17examples: Use the right cleanup functions.Oliver Stöneberg2-6/+9
(cherry picked from commit 525324b2f9ee2bd9a39ba88267e76c88e7f58bd1)
2011-05-17channel: Fixed potential use-after-free in ssh_channel_get_exit_status().Oliver Stöneberg1-1/+1
If ssh_channel_get_exit_status() is called more than once and the connection closed. (cherry picked from commit 4e153aed8a943b636135b424e052fc69392ad87c)
2011-05-17connect: Set timeout on connectOliver Stöneberg3-8/+9
This also fixes error handling in ssh_poll_ctx_dopoll() and ssh_handle_packets(), so it won't loop forever on an actual timeout. (cherry picked from commit 671a9827394714cfc90d75c8a8fb2ccd86f80abf)
2011-05-17poll: Removed WSAPoll() support.Oliver Stöneberg1-43/+0
It was causing too many issues and the poll emulation is quite stable. (cherry picked from commit f4f4ce37f058748489b195e976b577465864e914)
2011-05-17doc: Small update to auth.c documentation.Oliver Stöneberg1-4/+8
(cherry picked from commit 12b61a6266bd9f5d8d7cb1f99a855dcdd255681e)
2011-05-15channel: Improve the request signal documentation.Andreas Schneider1-1/+17
(cherry picked from commit 32cd45612bd89714f5c597f6d9ac8c51510e3df4)
2011-05-02Updated privatekey_from_file() to use BIO* as well [Oliver Stöneberg]Oliver Stöneberg1-10/+28
2011-05-02Use BIO* in _privatekey_from_file [Oliver Stöneberg]Oliver Stöneberg1-12/+25
_privatekey_from_file: moved FILE* into HAVE_LIBGCRYPT code / added missing #ifdef's to default case of switch [Oliver Stöneberg]
2011-05-02Delay the check for kbdint->answers in kbdint_send()milo1-3/+2
(cherry picked from commit 32ba5204b77906efa5613863c34fa916e7a83217)
2011-05-02Fix segfault when ssh_userauth_kbdint_setanswer() has not been calledmilo1-0/+5
(cherry picked from commit b6e712e934a45981b3a12cb67b48df006402a4d7)
2011-05-02[socket] fix a segfault at disconnectmilo1-4/+15
(cherry picked from commit 7d2064c2894fc298cc8923cae657200900b032e5)
2011-05-02[messages] don't queue messages if callback presentmilo1-5/+34
(cherry picked from commit 1979c14aac47137e7af782e7e49ec43f910b2b00)
2011-05-02[poll] avoid infinite loop in ssh_poll_ctx_free()milo1-2/+7
(cherry picked from commit 809254160308289fdcddf8a5eabad0c85a35bce7)
2011-05-02[channels] Added ssh_channel_window_size() and avoided reentrancy in ↵milo2-8/+10
channel_write_common() (cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe)
2011-05-01keyfiles: Fixed the build.Andreas Schneider1-0/+2
2011-05-01init: Some initialization fixes.Oliver Stöneberg4-19/+29
- Check result of ssh_init() in privatekey_from_base64() - Moved code from ssh_finalize() to appropriate subroutines - Only initialize sockets once (caused mismatch of WSAStartup() and WSACleanup() calls and potential usage of bsd_poll when win_poll should be used)
2011-05-01socket: Fixed poll input event.Oliver Stöneberg1-1/+1
(cherry picked from commit 040a543f57107efc267b7b5b7352293dcb7d87d5)
2011-05-01examples: Removed unnecessary \n from ssh_log() calls in samplessh.Oliver Stöneberg1-10/+10
(cherry picked from commit a73459171bb79cc402ff60621c06c75e9a7fb4d4)
2011-05-01examples: Fixed memory leak in samplessh when using commands.Oliver Stöneberg1-1/+4
(cherry picked from commit c3849a3cfd4bb298c255c41bf2cbc5592e893d17)
2011-04-15poll: Fix poll input events.Andreas Schneider3-3/+4
bug#38
2011-04-15examples: Fix some memory leaks.Andreas Schneider3-2/+16
(cherry picked from commit 644145a88caf0ff9cbfa16902c775b922578357b)
2011-04-15Fix assertion with Visual Studio because of %zu.Andreas Schneider4-6/+6
(cherry picked from commit ef658b4bef82670b6064078df355d6b6cf5ac999)
2011-04-14scp: Fix potential infinite loop in ssh_scp_closeMark Riordan1-1/+1
Signed-off-by: Mark Riordan <mriordan@ipswitch.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 5939cfe78af88710fb88f93ee435b78b93022f4e)
2011-04-14examples: Call correct functions on exit.Andreas Schneider2-1/+9
(cherry picked from commit 3e7d4534cec141141e2b2cc5beedcc171cd99360)
2011-04-14Fixed missing CRYPTO_cleanup_all_ex_data() in ssh_finalizeAris Adamantiadis1-1/+5
(cherry picked from commit 934252d6ca2b8d03d7ff7005443a416abae57b25)
2011-04-14wrapper: Fixed a possible NULL pointer dereference.Andreas Schneider1-1/+5
(cherry picked from commit 94e7d345a7561a3ee5923808c2ee65244e2f5184)
2011-04-14server: Fixed a possible NULL pointer dereference.Andreas Schneider1-1/+4
(cherry picked from commit 7e4916cefcc3a44557944e0f9573a9982d2a2ccd)
2011-04-11build: Fixed some VS2010 problems.Oliver Stöneberg4-6/+6
(cherry picked from commit 166ee451c500543db49e789b9bb2ed16db052f94)
2011-04-11keys: Fixed issues reported by cppcheck.Oliver Stöneberg2-15/+17
(cherry picked from commit 46475dfa2f246c4a831289bc7625c896eafa6458)
2011-04-08cmake: Fixed a typo.Andreas Schneider1-1/+2
(cherry picked from commit 7150cabafa6265ebe7b6d7705b3260462c4810b2)
2011-04-08sftp: Fixed double-free in sftp_unlink().Mark Riordan1-1/+3
(cherry picked from commit 29bb718a93969ef429e86f3bb1734d2548846d46)
2011-03-28Fixed doc of ssh_userauth_list()Aris Adamantiadis1-1/+1
(cherry picked from commit 1c062b22bf8107e6cddce0b198e0e50441826cfd)