| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* src/socket.c (ssh_socket_pollcallback): Factor some code out to ...
(ssh_socket_set_connecting): New.
* include/libssh/socket.h (ssh_socket_set_connecting): Add prototype.
* src/client.c (ssh_connect): Use new function for a socket set by
SSH_OPTIONS_FD.
Signed-off-by: Werner Koch <wk@gnupg.org>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
|
|
|
|
|
|
|
| |
We need this that we don't end up in and infinite poll loop.
(cherry picked from commit 563fbe4de8ee090b40b50415a86f9a3da16f46b0)
Conflicts:
src/poll.c
|
|
|
|
|
|
| |
When s->callbacks->exception() was called in ssh_socket_pollcallback()
we had a use after free bug.
(cherry picked from commit 986676378943353cdcf156493812737dc91befdd)
|
|
|
|
| |
(cherry picked from commit 7d2064c2894fc298cc8923cae657200900b032e5)
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
| |
(cherry picked from commit 040a543f57107efc267b7b5b7352293dcb7d87d5)
|
|
|
|
| |
bug#38
|
|
|
|
| |
(cherry picked from commit 166ee451c500543db49e789b9bb2ed16db052f94)
|
|
|
|
|
| |
Based on code from Jan Willamowius
(cherry picked from commit dff4e4e6d3a56123b00df48fdcd7a6de0a275aef)
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 071b0034db9d687f6ac493486d61363c5613643b)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Andreas Schneider <asn@cynapses.org>
|
| |
|
|
|