summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug #5, channel_read_nonblocking that blocksAris Adamantiadis2011-05-271-1/+1
|
* Fix memory leak when compression is usedMark Riordan2011-05-271-1/+17
| | | | | | Signed-off-by: Mark Riordan <mriordan@ipswitch.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit dcea8db6b221ab812c66bfabd3c0a00aada78c96)
* sftp: Reset eof on seek operations.Andreas Schneider2011-05-261-0/+3
| | | | | This fixes bug #48. (cherry picked from commit c483418b8210bc47a765f6b0e0dc99aec63e80fd)
* misc: Fix compilation on Windows.Andreas Schneider2011-05-261-4/+5
| | | | (cherry picked from commit ba03388031530fcf49b2c37ce0da801254e5075f)
* cmake: Fix detection of clock_gettime.Andreas Schneider2011-05-253-14/+16
|
* Replace clock_gettime with gettimeofday when missingAris Adamantiadis2011-05-251-1/+10
| | | | (cherry picked from commit 65282841e2a3e8af634759b6f7b39581a885d9d5)
* Introduced ssh_timeout_elapsed functionsAris Adamantiadis2011-05-257-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)
* Revert "Use BIO* in _privatekey_from_file [Oliver Stöneberg]"Andreas Schneider2011-05-191-0/+4
| | | | This reverts commit da8356b477fc94a18b8098f021a25d7e24ee79de.
* keyfiles: Move FILE* into HAVE_LIBGCRYPT code.Oliver Stöneberg2011-05-171-9/+0
| | | | (cherry picked from commit c7c563eb8ad01ab5750b5ea4e72031ebd298651c)
* keyfiles: Use BIO* in _privatekey_from_file().Oliver Stöneberg2011-05-171-4/+13
| | | | (cherry picked from commit 82df5dc2083a6f7234d1545bd671ee1b5b4680b6)
* Use BIO* in _privatekey_from_file [Oliver Stöneberg]Oliver Stöneberg2011-05-171-4/+0
| | | | _privatekey_from_file: moved FILE* into HAVE_LIBGCRYPT code / added missing #ifdef's to default case of switch [Oliver Stöneberg]
* socket: Fixed use-after-free.Oliver Stöneberg2011-05-171-0/+6
| | | | | | When s->callbacks->exception() was called in ssh_socket_pollcallback() we had a use after free bug. (cherry picked from commit 986676378943353cdcf156493812737dc91befdd)
* keyfiles: Fixed compilation without defines.Oliver Stöneberg2011-05-171-0/+4
| | | | | This fixes cppcheck issues. (cherry picked from commit 7f0761885cb21c2013f7b0fc562187a1909a2048)
* tests: Fixed some cppcheck warnings.Oliver Stöneberg2011-05-172-2/+4
| | | | (cherry picked from commit e3311d03dba7ae281597cf5de235bcefda44457c)
* examples: Use the right cleanup functions.Oliver Stöneberg2011-05-172-6/+9
| | | | (cherry picked from commit 525324b2f9ee2bd9a39ba88267e76c88e7f58bd1)
* channel: Fixed potential use-after-free in ssh_channel_get_exit_status().Oliver Stöneberg2011-05-171-1/+1
| | | | | | If ssh_channel_get_exit_status() is called more than once and the connection closed. (cherry picked from commit 4e153aed8a943b636135b424e052fc69392ad87c)
* connect: Set timeout on connectOliver Stöneberg2011-05-173-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)
* poll: Removed WSAPoll() support.Oliver Stöneberg2011-05-171-43/+0
| | | | | It was causing too many issues and the poll emulation is quite stable. (cherry picked from commit f4f4ce37f058748489b195e976b577465864e914)
* doc: Small update to auth.c documentation.Oliver Stöneberg2011-05-171-4/+8
| | | | (cherry picked from commit 12b61a6266bd9f5d8d7cb1f99a855dcdd255681e)
* channel: Improve the request signal documentation.Andreas Schneider2011-05-151-1/+17
| | | | (cherry picked from commit 32cd45612bd89714f5c597f6d9ac8c51510e3df4)
* Updated privatekey_from_file() to use BIO* as well [Oliver Stöneberg]Oliver Stöneberg2011-05-021-10/+28
|
* Use BIO* in _privatekey_from_file [Oliver Stöneberg]Oliver Stöneberg2011-05-021-12/+25
| | | | _privatekey_from_file: moved FILE* into HAVE_LIBGCRYPT code / added missing #ifdef's to default case of switch [Oliver Stöneberg]
* Delay the check for kbdint->answers in kbdint_send()milo2011-05-021-3/+2
| | | | (cherry picked from commit 32ba5204b77906efa5613863c34fa916e7a83217)
* Fix segfault when ssh_userauth_kbdint_setanswer() has not been calledmilo2011-05-021-0/+5
| | | | (cherry picked from commit b6e712e934a45981b3a12cb67b48df006402a4d7)
* [socket] fix a segfault at disconnectmilo2011-05-021-4/+15
| | | | (cherry picked from commit 7d2064c2894fc298cc8923cae657200900b032e5)
* [messages] don't queue messages if callback presentmilo2011-05-021-5/+34
| | | | (cherry picked from commit 1979c14aac47137e7af782e7e49ec43f910b2b00)
* [poll] avoid infinite loop in ssh_poll_ctx_free()milo2011-05-021-2/+7
| | | | (cherry picked from commit 809254160308289fdcddf8a5eabad0c85a35bce7)
* [channels] Added ssh_channel_window_size() and avoided reentrancy in ↵milo2011-05-022-8/+10
| | | | | | channel_write_common() (cherry picked from commit 7ba09388464f0437da2833b81e268744b20a68fe)
* keyfiles: Fixed the build.Andreas Schneider2011-05-011-0/+2
|
* init: Some initialization fixes.Oliver Stöneberg2011-05-014-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)
* socket: Fixed poll input event.Oliver Stöneberg2011-05-011-1/+1
| | | | (cherry picked from commit 040a543f57107efc267b7b5b7352293dcb7d87d5)
* examples: Removed unnecessary \n from ssh_log() calls in samplessh.Oliver Stöneberg2011-05-011-10/+10
| | | | (cherry picked from commit a73459171bb79cc402ff60621c06c75e9a7fb4d4)
* examples: Fixed memory leak in samplessh when using commands.Oliver Stöneberg2011-05-011-1/+4
| | | | (cherry picked from commit c3849a3cfd4bb298c255c41bf2cbc5592e893d17)
* poll: Fix poll input events.Andreas Schneider2011-04-153-3/+4
| | | | bug#38
* examples: Fix some memory leaks.Andreas Schneider2011-04-153-2/+16
| | | | (cherry picked from commit 644145a88caf0ff9cbfa16902c775b922578357b)
* Fix assertion with Visual Studio because of %zu.Andreas Schneider2011-04-154-6/+6
| | | | (cherry picked from commit ef658b4bef82670b6064078df355d6b6cf5ac999)
* scp: Fix potential infinite loop in ssh_scp_closeMark Riordan2011-04-141-1/+1
| | | | | | Signed-off-by: Mark Riordan <mriordan@ipswitch.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 5939cfe78af88710fb88f93ee435b78b93022f4e)
* examples: Call correct functions on exit.Andreas Schneider2011-04-142-1/+9
| | | | (cherry picked from commit 3e7d4534cec141141e2b2cc5beedcc171cd99360)
* Fixed missing CRYPTO_cleanup_all_ex_data() in ssh_finalizeAris Adamantiadis2011-04-141-1/+5
| | | | (cherry picked from commit 934252d6ca2b8d03d7ff7005443a416abae57b25)
* wrapper: Fixed a possible NULL pointer dereference.Andreas Schneider2011-04-141-1/+5
| | | | (cherry picked from commit 94e7d345a7561a3ee5923808c2ee65244e2f5184)
* server: Fixed a possible NULL pointer dereference.Andreas Schneider2011-04-141-1/+4
| | | | (cherry picked from commit 7e4916cefcc3a44557944e0f9573a9982d2a2ccd)
* build: Fixed some VS2010 problems.Oliver Stöneberg2011-04-114-6/+6
| | | | (cherry picked from commit 166ee451c500543db49e789b9bb2ed16db052f94)
* keys: Fixed issues reported by cppcheck.Oliver Stöneberg2011-04-112-15/+17
| | | | (cherry picked from commit 46475dfa2f246c4a831289bc7625c896eafa6458)
* cmake: Fixed a typo.Andreas Schneider2011-04-081-1/+2
| | | | (cherry picked from commit 7150cabafa6265ebe7b6d7705b3260462c4810b2)
* sftp: Fixed double-free in sftp_unlink().Mark Riordan2011-04-081-1/+3
| | | | (cherry picked from commit 29bb718a93969ef429e86f3bb1734d2548846d46)
* Fixed doc of ssh_userauth_list()Aris Adamantiadis2011-03-281-1/+1
| | | | (cherry picked from commit 1c062b22bf8107e6cddce0b198e0e50441826cfd)
* Change session state after receiving a DisconnectAris Adamantiadis2011-03-281-0/+1
| | | | (cherry picked from commit 4bc9c96e4e5b376578c7dcfdd9a85c7a4b4c788b)
* cpack: Raise version number.Andreas Schneider2011-03-231-1/+1
|
* Fix the ssh_message_retrieve problem by anihilationAris Adamantiadis2011-03-232-1/+10
|
* Implement ssh_blocking_flush()Aris Adamantiadis2011-03-234-0/+39
| | | | | Based on code from Jan Willamowius (cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef)