summaryrefslogtreecommitdiffstats
path: root/src/options.c
Commit message (Collapse)AuthorAgeFilesLines
* opts: Fix segfault in option parser.Andreas Schneider2013-06-021-3/+11
|
* options: Fix a free crash bug if we parse unknown options.Andreas Schneider2013-01-221-6/+8
| | | | Thanks to Yong Chuan Koh, X-Force Research <kohyc@sg.ibm.com>
* options: Fix documentation of ssh_options_get_port().Andreas Schneider2012-10-141-1/+1
|
* kex: Use getter functions to access kex arrays.Andreas Schneider2012-10-121-2/+2
| | | | This should fix the build on OpenIndiana.
* options: Check return code of ssh_iterator_value.Andreas Schneider2012-10-121-1/+5
| | | | Found by Coverity.
* options: Fix a memory in ssh_options_copy() on error.Andreas Schneider2012-10-051-0/+1
|
* options: Fix a memory leak if we can't add an idenity.Andreas Schneider2012-10-051-0/+1
|
* dh: Add support for diffie-hellman-group14-sha1.Dmitriy Kuznetsov2012-09-041-1/+1
|
* options: Add option to specify host keys string.Oliver Gasser2012-07-061-0/+15
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* session: Use a struct for all options.Andreas Schneider2012-02-051-91/+91
|
* Fix logic erorr with brace-less conditional statementLee Hambley2012-01-031-1/+2
|
* options: Fix typo in ssh_options_get() docs.Andreas Schneider2011-12-141-1/+1
|
* options: Add missing argument check.Andreas Schneider2011-11-031-0/+7
|
* Improve ssh_options_get(ssh_session, enum ssh_options_e, char**).Lee Hambley2011-11-031-31/+16
| | | | | | | * Use SSH_ERROR and SSH_OK instead of `-1` and `0`. * Re-factor for code duplication * No longer call `ssh_set_error_invalid(ssh_session)` when the ssh_session is NULL.
* Implement ssh_options_get_port(ssh_session, unsigned int*).Lee Hambley2011-10-281-0/+26
|
* Implement ssh_options_get(ssh_session, enum ssh_options_e, char**).Lee Hambley2011-10-281-0/+86
|
* priv: Move options and config prototypes to own header.Andreas Schneider2011-09-181-0/+1
|
* error: Use macros for error functions.Andreas Schneider2011-09-171-40/+40
|
* options: Fix NULL value handling.Andreas Schneider2011-09-061-34/+64
|
* options: Fix the ssh_options_set() function.Andreas Schneider2011-09-051-321/+368
| | | | | This is a refactor so that we check if the values are sane the user wants to set. If not return an error.
* misc: Remove session from ssh_get_local_username().Andreas Schneider2011-08-161-1/+1
|
* options: Allocate dest in ssh_options_copy().Andreas Schneider2011-08-111-70/+85
|
* Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis2011-07-191-8/+8
|
* Test for ecdh and dh-group1Aris Adamantiadis2011-06-121-0/+14
|
* options: Remove unsused getopt option.Andreas Schneider2011-01-061-5/+1
| | | | Found by clang-analyzer http://test.libssh.org/clang-analyzer/
* Added compression options and allow "yes/no" settingAris Adamantiadis2010-12-271-15/+64
| | | | SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
* options: Remove unused variable.Andreas Schneider2010-12-211-4/+0
|
* Moved includes from priv.h to bind.hAris Adamantiadis2010-10-271-0/+1
|
* start of work to have callbackbased ssh_bindAris Adamantiadis2010-10-191-35/+35
|
* Adapt comments in options to give parameters typesAris Adamantiadis2010-10-151-161/+161
|
* Implemented zlib@openssh.com compressionAris Adamantiadis2010-10-041-2/+2
|
* options: Rename HOSTKEYCHECK to STRICTHOSTKEYCHECK.Andreas Schneider2010-09-281-2/+2
| | | | | Looks like people are confused by the name and think this is normal host key checking.
* options: Fixed documentation of SSH_OPTIONS_HOSTKEYCHECK.Andreas Schneider2010-09-281-1/+2
|
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+1138