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
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
Andreas Schneider
1c5ae7dd97
Install callbacks header file.
2009-09-25 09:33:11 +02:00
Andreas Schneider
f65e3566a2
Fixed typo in config.h.cmake.
...
This closes ticket #24 .
2009-09-24 13:22:43 +02:00
Aris Adamantiadis
6b0a89a288
Get rid of CRYPTO
2009-09-23 23:55:07 +02:00
Aris Adamantiadis
f84ebc2e27
Moved lots of declaration out of priv.h
2009-09-23 23:51:04 +02:00
Aris Adamantiadis
b359229a2e
Change #defines to enums when it makes sense
2009-09-23 22:42:29 +02:00
Aris Adamantiadis
496a8e12d9
Get rid of SSH_MESSAGE
2009-09-23 22:19:11 +02:00
Aris Adamantiadis
0e8e124d20
get rid of SSH_OPTIONS
2009-09-23 22:13:19 +02:00
Aris Adamantiadis
9a8d4cd0fd
get rid of SSH_SESSION
2009-09-23 21:55:54 +02:00
Aris Adamantiadis
ffed8b03bb
remove the broken setters for options,cb init macro
2009-09-23 21:40:58 +02:00
Aris Adamantiadis
5bd38a5f37
Changed the current callback sys to be scalable
2009-09-23 21:30:56 +02:00
Aris Adamantiadis
ab60d1d678
Ordered functions in libssh.h alphabeticaly
2009-09-23 20:42:59 +02:00
Aris Adamantiadis
5223fa5740
Shut up warning in libssh_scp
2009-09-23 11:43:06 +02:00
Aris Adamantiadis
95558d54b0
Fix typos in SSH_OPTIONS
2009-09-23 11:21:12 +02:00
Andreas Schneider
068a7dfc49
Fixed bindport in getop function.
2009-09-22 20:36:57 +02:00