Love Hörnquist Åstrand
7adcb73bb8
include krb5.h to avoid krb5_getportbyname warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:33:18 +00:00
Love Hörnquist Åstrand
50d9ed5566
clean_ttyname might be unused, mark it so with __attribute__
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:29 +00:00
Love Hörnquist Åstrand
c41860a8ee
use NULL as last argument to execl, not 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:54 +00:00
Love Hörnquist Åstrand
692e21b3e7
remove setting of DES_check_key, all code uses DES_set_key_checked
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:22:39 +00:00
Johan Danielsson
60369967af
remove const from argument list passed to execv
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 13:03:10 +00:00
Johan Danielsson
0624b4457e
replace INCLUDES with AM_CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
a69172cd39
make subbuffer larger XXX resize dynamicly
...
From: MAAAAA MOOOR <huaraz@btinternet.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:00:38 +00:00
Love Hörnquist Åstrand
f026b13d65
call setprogname to make libvers happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 18:07:49 +00:00
Love Hörnquist Åstrand
b6b6ef861a
use new DES_ api
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:53 +00:00
Assar Westerlund
68823821a9
add --version as a special case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 19:29:38 +00:00
Johan Danielsson
879fc6b8bc
more, mostly whitespace, fixes from Thomas Klasusner
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
31ad1085bf
use sysconfdir
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:09:20 +00:00
Assar Westerlund
66e47c8292
move NOERROR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-17 02:09:05 +00:00
Assar Westerlund
afe19111e9
add a kludge to make it build on aix (that defines NOERROR in both
...
sys/stream.h and arpa/nameser.h and considers that a fatal error)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-17 02:09:04 +00:00
Assar Westerlund
897f0b1f93
unsigned char casts for is*, casts for socket functi, add headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:54:18 +00:00
Assar Westerlund
67813438a7
kill some warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 00:45:23 +00:00
Johan Danielsson
002678bb48
use INCLUDE_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 11:21:17 +00:00
Assar Westerlund
b9ebb34f5c
also link with the library for logout
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-26 01:44:35 +00:00
Assar Westerlund
93b5639e63
add LIB_openpty
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 22:11:50 +00:00
Assar Westerlund
7d75a2a5f5
include libutil.h if it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-21 23:09:03 +00:00
Assar Westerlund
b42cba5cb5
(getpty): call openpty if it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-10 13:34:57 +00:00
Assar Westerlund
a5214a7bbc
(output_data): make sure of not forwarding `nfrontp' too far, thereby
...
allowing writes after the end of `netobuf'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:00:42 +00:00
Assar Westerlund
a4190c9469
remove two warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 15:58:01 +00:00
Assar Westerlund
721715003c
fix spelling in comment. from Peter Valchev <pval@openbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-06 15:39:25 +00:00
Assar Westerlund
b4a6a79d1a
document -y, from Hans Insulander <hin@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 21:29:38 +00:00
Assar Westerlund
58b8c01f2c
remove enmpty environment. from Hubert Feyrer
...
<hubert.feyrer@informatik.fh-regensburg.de >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 17:46:44 +00:00
Assar Westerlund
29b83d65a0
no return <void value> in a void function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 00:34:42 +00:00
Assar Westerlund
b8b84b1ac8
mdoc fixes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 08:25:00 +00:00
Assar Westerlund
5c4704bbe8
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-01 18:53:24 +00:00
Assar Westerlund
31aa7c2fe4
(fatalperror_errno): add prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:12:11 +00:00
Assar Westerlund
4b907b8737
(start_login): give the correct error if exec fails
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:11:43 +00:00
Assar Westerlund
56cb680b45
(fatalperror_errno): add a new function with explicit errno parameter
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:11:05 +00:00
Assar Westerlund
81ff46fb89
some minimal more amount of const-correctness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-07 00:10:49 +00:00
Assar Westerlund
2aefcf796c
try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:20:54 +00:00
Assar Westerlund
c0ff298e15
(startslave, start_login): re-write code to keep track both of remote
...
hostname and utmp string to be used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:07:28 +00:00
Assar Westerlund
5efe4881d6
(doit, my_telnet): re-write code to keep track both of remote hostname
...
and utmp string to be used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:06:27 +00:00
Assar Westerlund
1de4122ebd
update prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:05:13 +00:00
Assar Westerlund
102f79dd23
add LIB_kdfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:12:02 +00:00
Assar Westerlund
130cb6b3fc
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 16:16:30 +00:00
Assar Westerlund
234e644214
(scrub_env): add supporting non-file TERMCAP variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 23:32:06 +00:00
Assar Westerlund
af16cfb31b
fixo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 21:29:42 +00:00
Assar Westerlund
4217ffeaf6
move include files around to avoid getting SE from sys/*.h on HP to
...
override SE from telnet.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 21:28:36 +00:00
Assar Westerlund
423299cbc5
(scrub_env): remove some const-ness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 20:30:47 +00:00
Assar Westerlund
650f8bb0f0
(scrub_env): add LOGNAME and POSIXLY_CORRECT to the list of authorized
...
environment variables to be compatile with linux-telnetd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 18:14:45 +00:00
Assar Westerlund
f9699a902a
(scrub_env): change filtering algoritm from allowing everything except
...
a few bad cases to not allowing anything except a few non-dangerous
cases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 14:50:21 +00:00
Björn Groenvall
6bf98229af
Filter out some more environment variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-16 18:53:24 +00:00
Assar Westerlund
cbb97156e4
(telnet_getenv): make somewhat const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:20:43 +00:00
Assar Westerlund
4357c754d1
(telnet_getenv): make somewhat const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:03:38 +00:00
Assar Westerlund
baebf953a8
use LIB_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
388c5cda99
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:26:36 +00:00