Commit Graph

  • 3026c46109 removed ENOTCONN define, added HAVE_IOCTLSOCKET define; added the new defines for inclusion of headers. Guenter Knauf 2007-04-12 21:37:09 +00:00
  • 4e920fe2be Fixed some spelling mistakes in documentation. Dan Fandrich 2007-04-12 21:30:03 +00:00
  • 164c6e9fc5 libssh2_channel_close now waits for a SSH_MSG_CHANNEL_CLOSE message from the server as mandated by the RFC. Not doing so causes an OpenSSH server to occasionally corrupt (truncate) short files uploaded by scp (which manifests itself as a failure of test603 in the curl regression test suite). Dan Fandrich 2007-04-12 21:24:36 +00:00
  • 0cf3845302 Replace #if !WIN32 with #if HAVE_SYS_SOCKET_H and HAVE_SYS_IOCTL_H (AIX needs sys/ioctl.h). Reported by Michael Augustin <maugustin-hi6Y0CQ0nG0@public.gmane.org>. Simon Josefsson 2007-04-11 07:22:33 +00:00
  • 149af707de Use _libssh2_* namespace. Suggested by Guenter Knauf <eflash-hi6Y0CQ0nG0@public.gmane.org>. Simon Josefsson 2007-04-05 20:36:17 +00:00
  • e1bc0adcb1 Use Bruno's M4 macros to search for libgcrypt. Simon Josefsson 2007-04-05 10:23:54 +00:00
  • 2f207bdad5 *** empty log message *** Simon Josefsson 2007-04-05 10:21:09 +00:00
  • 7972822465 Remove generated files. Simon Josefsson 2007-04-05 10:00:26 +00:00
  • b370b89eeb Moved to README. Simon Josefsson 2007-04-05 09:59:48 +00:00
  • 01d7396160 Need sys/ioctl.h for FIONBIO, tiny patch from Michael Augustin <maugustin@gmx.net>. Simon Josefsson 2007-04-05 09:58:25 +00:00
  • 43e377c08e Fix AIX problem, based on patch from Michael Augustin <maugustin@gmx.net>. Simon Josefsson 2007-04-05 09:31:38 +00:00
  • 348b914ab7 Protect #include of zlib.h if we build without zlib. Simon Josefsson 2007-04-04 14:44:50 +00:00
  • e7b3a2efc5 Enabled fragmenting SFTP requests to LIBSSH2_SFTP_PACKET_MAXLEN. Mikhail Gusarov 2007-04-01 08:04:32 +00:00
  • 56608a799f Missing brace added Mikhail Gusarov 2007-04-01 07:40:49 +00:00
  • f29f85f482 libssh2_sftp_read should not return error if it receives SSH_FX_EOF code in SSH_FXP_STATUS packet. Mikhail Gusarov 2007-04-01 06:23:49 +00:00
  • 2a48f54937 Callers should be using libssh2_packet_require_ex instead of libssh2_packet_ask_ex. The purpose of these calls is to clear out any packets that may have arrived already, so there's no need to poll for more. (Dan Fandrich) Daniel Stenberg 2007-03-31 20:28:29 +00:00
  • 4c7ecad34d Don't use CPP symbol _MSC_VER unless it is defined, because undefined CPP symbols means 0. Tiny patch from "Yang Tse" <yangsita@gmail.com>. Simon Josefsson 2007-03-29 08:11:51 +00:00
  • 53d6597569 Need -no-undefined for AIX/cygwin/mingw32 etc. Reported by "Yang Tse" <yangsita@gmail.com>. Simon Josefsson 2007-03-29 08:10:22 +00:00
  • af12b96a80 Add comment. Simon Josefsson 2007-03-27 15:57:23 +00:00
  • e854459839 Set $SHLIB_SUFFIX_NAME properly, tiny patch from Daniel Johnson <daniel@daniel-johnson.org>. Simon Josefsson 2007-03-27 15:56:08 +00:00
  • af00ce242e Remove -no-install since it breaks Darwin builds (probably a libtool bug), report from Daniel Johnson <daniel@daniel-johnson.org>. Simon Josefsson 2007-03-27 15:35:37 +00:00
  • fa1d8da7a3 Generated. Simon Josefsson 2007-03-27 13:33:18 +00:00
  • 2d7f1ad47c fix Simon Josefsson 2007-03-27 13:32:57 +00:00
  • 0ace54f5b6 Add. Simon Josefsson 2007-03-27 13:27:13 +00:00
  • 7ebafd3999 Add. Simon Josefsson 2007-03-27 13:24:01 +00:00
  • 86cdc614c8 Add -lsocket/-lnsl. End sentences with '.'. Simon Josefsson 2007-03-27 13:21:24 +00:00
  • 15d9b50be4 Add. Start sentences with uppercase. Simon Josefsson 2007-03-27 13:20:18 +00:00
  • ebc55b5d75 Use AC_SEARCH_LIBS on socket() for -lsocket, so we don't link with -lsocket unless it is necessary. Remove SHLIB_LDFLAGS, it was never used by anything. Simon Josefsson 2007-03-27 13:11:19 +00:00
  • cf9ffc053a Add jehousley. Simon Josefsson 2007-03-27 13:07:20 +00:00
  • 25a810bbc8 Fix typo. Simon Josefsson 2007-03-27 13:05:35 +00:00
  • db2a895ecf (libssh2_poll_channel_write, libssh2_poll_listener_queued): Mark as static. Remove unneeded prototypes. Break Solaris 10 builds according to "Heiko Jansen" <jansen@hbz-nrw.de>. Simon Josefsson 2007-03-27 13:03:46 +00:00
  • 94a71fe995 (libssh2_packet_x11_open, libssh2_packet_queue_listener): Mark as static functions. Remove unnecessary prototypes. Breaks Solaris 10 builds according to "Heiko Jansen" <jansen@hbz-nrw.de>. Simon Josefsson 2007-03-27 13:02:01 +00:00
  • 0eabcb386e Search -lnsl for inet_addr, suggested by "Heiko Jansen" <jansen@hbz-nrw.de>. Simon Josefsson 2007-03-27 12:59:00 +00:00
  • 93dc3f565e Fix typo, reported by "Heiko Jansen" <jansen@hbz-nrw.de>. Simon Josefsson 2007-03-27 12:52:16 +00:00
  • 48410937b2 Dist buildconf, suggested by "Heiko Jansen" <jansen@hbz-nrw.de>. Simon Josefsson 2007-03-27 12:50:09 +00:00
  • 864ceec7bd Add 'dist_' to make sure man pages are included in the release. Simon Josefsson 2007-03-27 12:48:53 +00:00
  • 8ac3f7e485 Add rule to generate ChangeLog. No need for foreign or nostdinc (correct me if I'm wrong?). Simon Josefsson 2007-03-27 12:44:44 +00:00
  • 2e20808f8c Add, needed by cvs2cl. Simon Josefsson 2007-03-27 12:32:56 +00:00
  • 53fb8b1969 Add. Simon Josefsson 2007-03-27 12:28:18 +00:00
  • 7dfbbf9c1c Remove. Simon Josefsson 2007-03-27 12:24:56 +00:00
  • d131f6457c Add, from LICENSE. Simon Josefsson 2007-03-27 12:24:35 +00:00
  • a3a9b0385e Rewrite, based on INSTALL. Simon Josefsson 2007-03-27 12:22:22 +00:00
  • 20297b51bd Add, from README. Simon Josefsson 2007-03-27 12:10:25 +00:00
  • ba9f0b2ce6 Dan Fandrich fixed another memory leak, this time in the OpenSSL interface code: Daniel Stenberg 2007-03-15 21:37:43 +00:00
  • 56f606a98e give credit to those who made the changes Daniel Stenberg 2007-03-15 20:57:11 +00:00
  • b553f1087e fixed a memory leak in the packet handling (Dan Fandrich) Daniel Stenberg 2007-03-15 20:56:45 +00:00
  • 75ceed5776 Dan Fandrich patch: Daniel Stenberg 2007-03-14 21:59:12 +00:00
  • 689c394c57 Added sftpdir, a sample doing an SFTP directory listing Daniel Stenberg 2007-02-23 11:18:41 +00:00
  • de60096af1 nicer look Daniel Stenberg 2007-02-23 10:38:14 +00:00
  • 9aa460b55b more/updated man pages Daniel Stenberg 2007-02-23 10:20:56 +00:00
  • 7c115d350c Lucas Newman found and fixed a problem where libssh2_packet_read() could "lose" bytes when it read data from the network that was an unaligned number of bytes compared to the blocksize. Daniel Stenberg 2007-02-14 20:50:43 +00:00
  • 1ce26ef4a2 add include to fix compiler warning Daniel Stenberg 2007-02-08 14:50:33 +00:00
  • 92c75854fb Guenter Knauf added support for another IP and I changed the order of the arguments and updated some comments. Daniel Stenberg 2007-02-08 14:44:32 +00:00
  • f015b10b02 Guenter Knauf's Netware+Win32 updates after my recent changes Daniel Stenberg 2007-02-08 14:34:41 +00:00
  • 972d6d8bd4 removed unused variable Daniel Stenberg 2007-02-07 21:42:45 +00:00
  • fee0239211 setting sockets non-blocking using more portable code and configure macros from the libcurl project (written by me) Daniel Stenberg 2007-02-07 21:39:17 +00:00
  • e7181a8c36 Netware and Windows fixes by Guenter Knauf Daniel Stenberg 2007-02-07 21:21:06 +00:00
  • b88eb6a096 let's call the current version 0.15-CVS Daniel Stenberg 2007-02-06 14:19:59 +00:00
  • f6e26916ac Remove unused uses of -lm and math.h. Simon Josefsson 2007-02-04 13:16:17 +00:00
  • 39876b2ee3 Fix. Simon Josefsson 2007-02-04 13:10:46 +00:00
  • 4f1cfb20a9 1 - new public function libssh2_trace() that enables tracing/debug output on various stuff if libssh2 was built with debug. If built without debug, the function does nothing. 2 - configure --enable-debug is now enough to build a debug version (including picky compiler options) 3 - internally, we no longer need/use #ifdef/#endif around all uses of the _libssh2_debug() function/macro. Daniel Stenberg 2007-02-02 23:23:36 +00:00
  • 6304383c91 non-blocking and man pages Daniel Stenberg 2007-02-02 22:28:48 +00:00
  • bd1980ea1c Include man pages in distro tarball and make install. Note that this is still (by far) an incomplete set of man pages. Daniel Stenberg 2007-02-02 22:27:06 +00:00
  • be4c3f59d4 bump the version-info due to the changes in the API we're working on and due to the fact that there's release of the previous CVS-state shipped in Debian (and possibly others distros). Daniel Stenberg 2007-02-02 22:09:30 +00:00
  • 9d55db6501 Adding src/transport.c for the SECSH transport layer read/write in a non- blocking way. The channel code is now responsible for enabling/disabling blocking status and to work with it. Daniel Stenberg 2007-02-02 16:21:20 +00:00
  • c63ef86075 non-blocking stuff removed, see *readnb_ex() beforenb-0.14 Daniel Stenberg 2007-02-02 16:11:55 +00:00
  • 1b733d1196 more docs, including a template.3 for new man pages Daniel Stenberg 2007-02-02 16:09:12 +00:00
  • 3c61a44224 Libgcrypt stuff works. Simon Josefsson 2007-02-02 11:22:39 +00:00
  • 20527d9688 Mind your p's and q's! RSA authentication now works. Simon Josefsson 2007-02-02 11:18:34 +00:00
  • 09ee2d4086 Chris Nystrom helped me realize I must count the received bytes myself to know when the transfer is complete Daniel Stenberg 2007-02-01 22:39:45 +00:00
  • 5859642888 oops, it shouldn't be non-blocking when doing blocking transfers... Daniel Stenberg 2007-01-30 11:10:26 +00:00
  • ba1eb9f8fc simple (blocking) SCP transfer Daniel Stenberg 2007-01-30 11:07:14 +00:00
  • e2f6518d95 two simple samples Daniel Stenberg 2007-01-24 14:15:36 +00:00
  • a139ab0b45 fix compiler warnings Daniel Stenberg 2007-01-23 21:36:40 +00:00
  • f1e7eb7ae8 Fix RSA private key reading (still not working). Simon Josefsson 2007-01-23 15:12:41 +00:00
  • b790cabf6a Fix warnings. Simon Josefsson 2007-01-23 13:55:11 +00:00
  • d2be40421a Fix warnings. Simon Josefsson 2007-01-23 12:44:14 +00:00
  • b1d855d1ac Fix warnings. Simon Josefsson 2007-01-23 12:44:14 +00:00
  • 1826e7365d Fix warnings. Simon Josefsson 2007-01-23 12:32:06 +00:00
  • 7f9ea39a5d Fix mem leak. Simon Josefsson 2007-01-23 12:26:36 +00:00
  • 6cf4420264 Fix mem leak. Simon Josefsson 2007-01-23 12:18:50 +00:00
  • bfb71f3075 Need more #include's. Simon Josefsson 2007-01-23 11:53:27 +00:00
  • 1f232d69ed Fix warnings. Simon Josefsson 2007-01-23 11:52:23 +00:00
  • f252d350ec Fix warnings. Simon Josefsson 2007-01-23 11:52:08 +00:00
  • 4c2c468b08 Remove OpenSSL #include. Simon Josefsson 2007-01-23 11:29:13 +00:00
  • a86a4e0cfc Fix mem leak. Simon Josefsson 2007-01-23 11:28:05 +00:00
  • b1f8bafb64 If --with-libgcrypt is specified, don't check for OpenSSL. Simon Josefsson 2007-01-23 10:37:14 +00:00
  • c9d40afa14 Abstract bignum API. Simon Josefsson 2007-01-23 10:29:55 +00:00
  • 51b9ff0f16 Abstract RSA/DSA private key file reading and RSA/DSA signing, and implement them in openssl/libgcrypt layer. Simon Josefsson 2007-01-23 08:22:54 +00:00
  • 0d9a7e3c2e Add prototypes for pem.c functions. Simon Josefsson 2007-01-23 08:14:14 +00:00
  • 75115045ae Add pem.c. Simon Josefsson 2007-01-23 08:13:32 +00:00
  • be984707e2 Add. Functions for reading PEM files and decoding ASN.1. Simon Josefsson 2007-01-23 08:13:10 +00:00
  • 2afd706ca1 please picky compiler Daniel Stenberg 2007-01-22 21:40:44 +00:00
  • fe979040a2 Remove non-iovec based RSA/DSA signing (not used, and DSA code even buggy). Simon Josefsson 2007-01-22 14:15:38 +00:00
  • 0fab9e9614 fix warning for memcpy() Daniel Stenberg 2007-01-19 21:32:31 +00:00
  • 576d37dafd Indent. Fix mem leak on errors. Simon Josefsson 2007-01-18 11:37:32 +00:00
  • a0eda7365e Remove openssl #include. Protect use of 3DES. Reorder definitions to match preference order. Simon Josefsson 2007-01-18 11:32:20 +00:00
  • 1f79c7da95 Remove debug code. Simon Josefsson 2007-01-18 11:30:23 +00:00
  • 6ede32c5e2 Use new generic crypto APIs. Simon Josefsson 2007-01-18 11:22:10 +00:00
  • 10efccbb83 Align with new _LIBSSH2_CRYPT_METHOD API, for libgcrypt support. Simon Josefsson 2007-01-18 11:21:39 +00:00