1
1

1051 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
1e0e8a5493 samplessh uses ssh_options_getopt() 2009-10-09 22:28:03 +02:00
Aris Adamantiadis
4b65aea401 Last nail on SSH_OPTIONS, SSH_SESSION etc. 2009-10-09 22:26:08 +02:00
Aris Adamantiadis
98ff6fbbce get rid of the option structure 2009-10-09 22:24:23 +02:00
Aris Adamantiadis
43e0d73b63 sample.c compiles now 2009-10-09 22:04:56 +02:00
Aris Adamantiadis
58294442d3 Moved samples into examples directory 2009-10-09 21:44:05 +02:00
Aris Adamantiadis
2e9c13dad0 Modified server API 2009-10-09 21:26:15 +02:00
Andreas Schneider
9c667ebc26 Remove functions to set callbacks. 2009-10-09 15:18:06 +02:00
Andreas Schneider
d1b772f1bc Added more error messages to config parser. 2009-10-06 15:49:47 +02:00
Andreas Schneider
876f843f23 Update ChangeLog. 2009-10-06 15:44:12 +02:00
Andreas Schneider
0e2e0983f3 Fixed build temporarily. 2009-10-05 10:41:00 +02:00
Vic Lee
6063a8d09c Fix a segment fault in privatekey_from_file
Signed-off-by: Vic Lee <llyzs@163.com>
2009-10-05 10:02:04 +02:00
Aris Adamantiadis
40778d4ba9 Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh 2009-10-05 10:01:24 +02:00
Bernhard R. Link
60d6954b75 samplesshd: allow overriding KEYS_FOLDER by compiler option
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:05:09 +02:00
Bernhard R. Link
bf376b6d4f do not segfault in ssh_bind_accept if bindaddr is NULL
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:04:38 +02:00
Bernhard R. Link
ff52e3630f improve error handling in options.c
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:04:02 +02:00
Andreas Schneider
f1f17f18dc Fix documentation. 2009-10-05 00:03:47 +02:00
Bernhard R. Link
7c759b9615 add ssh_set_error_oom and ssh_set_error_invalid
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:02:43 +02:00
Bernhard R. Link
d54e9550da proper prototype of ssh_session_new
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-10-05 00:01:50 +02:00
Andreas Schneider
d7c0270c89 Fixed SSHv1 to work with the option changes. 2009-10-04 11:47:26 +02:00
Andreas Schneider
7a37f9faf7 Fixed ssh_options_copy(). 2009-10-04 10:10:19 +02:00
Aris Adamantiadis
149a2b4a18 Temporary server fixup for options structure delet
server_set_kex needs to be rewritten
2009-10-03 23:06:26 +02:00
Andreas Schneider
ab5b4c7cfe Get rid of the options structure. 2009-10-02 20:26:14 +02:00
Andreas Schneider
e78334688f Fixed setting of LFS CFLAGS. 2009-10-02 20:19:48 +02:00
Andreas Schneider
566fda70a5 Fixed LFS support on unix. 2009-10-02 20:17:21 +02:00
Andreas Schneider
62cebe23d9 Fixed build of sample client. 2009-10-02 17:21:59 +02:00
Andreas Schneider
42aacc7106 Remove unused option functions. 2009-10-02 10:18:27 +02:00
Andreas Schneider
8ed9cdce80 Remove --as-needed linker flag. 2009-10-01 10:19:07 +02:00
Aris Adamantiadis
a3a7f17d0f Missed copying of log verbosity 2009-09-30 13:10:59 +02:00
Aris Adamantiadis
571dd56eca libcrypto.so is in /lib on opensolaris 2009-09-29 17:57:37 +02:00
Aris Adamantiadis
f6f0988d10 Fix warnings on opensolaris 2009-09-29 17:57:37 +02:00
Aris Adamantiadis
f9d1542542 resolve warning on opensolaris 2009-09-29 11:46:06 +02:00
Aris Adamantiadis
d32fe11da3 Fix build with SSH1 2009-09-28 10:28:52 +02:00
Aris Adamantiadis
cd7f6bea57 more priv.h splitting 2009-09-26 14:05:58 +02:00
Aris Adamantiadis
c3dc60103f Fix small bug in ssh_options_parse_config 2009-09-26 12:42:47 +02:00
Aris Adamantiadis
2a2616f65c Fix bug in dir_expand_sub 2009-09-26 12:28:03 +02:00
Bernhard R. Link
f643c34ee8 support in ~/ and SSH_DIR/ in filenames instead of %s/
Get rid of snprintf to fixed sized buffers in setting options.
Instead make locations starting with ~/ relative to the
users initial working directory (as libssh does not look into
the home directory but only at the initial home directory).
and starting with SSH_DIR/ relative to the configured ssh directory.
2009-09-26 12:23:30 +02:00
Aris Adamantiadis
0f77578ee2 Fixed doxygen compilation warnings 2009-09-26 01:34:14 +02:00
Aris Adamantiadis
3e314e863c More include file splitting 2009-09-26 01:15:48 +02:00
Aris Adamantiadis
adbb087221 Removed obsolete options 2009-09-26 00:36:02 +02:00
Aris Adamantiadis
3a8d839e86 More include file movings 2009-09-26 00:29:53 +02:00
Aris Adamantiadis
358647f5d9 More comment 2009-09-25 23:56:28 +02:00
Aris Adamantiadis
5e76118512 fix ssh_callbacks_init() macro + documentation
ssh_callbacks_init should not zero' the struct because
it could be used on staticaly declared structures
2009-09-25 23:50:18 +02:00
Aris Adamantiadis
e3bdc393cb callback.h should use public headers 2009-09-25 23:42:29 +02:00
Aris Adamantiadis
04b49d46c1 Fixed building with Gcrypt and arith with void* 2009-09-25 23:38:09 +02:00
Aris Adamantiadis
74b7fb7bba Add an option to let users choose libgcrypt 2009-09-25 23:31:48 +02:00
Aris Adamantiadis
c70694c594 Fix memory leaks found by tysonite 2009-09-25 18:49:26 +02:00
Aris Adamantiadis
fef87793a0 Fix openssl version usage, found by tysonite 2009-09-25 18:34:58 +02:00
Andreas Schneider
79c475c917 Fixed including of config.h.
If there is some option to modify libc behaviour (like if there was some
off_t usage to be modified by some flag to make that 64 bit) that
needs to be done before the first libc header. one could still do -D
there, though (unless cmake wants to do something automatically and puts
that in config.h)
2009-09-25 10:01:56 +02:00
Andreas Schneider
3dd03fec21 Add missing extern C. 2009-09-25 09:59:25 +02:00
Andreas Schneider
e8e07f7376 Fix typo. 2009-09-25 09:37:56 +02:00