Commit Graph

58 Commits

Author SHA1 Message Date
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
itojun bf8555f163 no longer need to -I/usr/include first (yes, it's still confusing, i admit) 2003-07-23 13:35:13 +00:00
tron c04353144d Fix build problem caused by recent "Makefile" changes. 2003-07-23 13:19:43 +00:00
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
itojun 24fbe10c93 do not build/install shlib 2003-07-16 19:35:34 +00:00
itojun 427af575fe use bounded string op. bump shlib major for libtelnet due to API change. 2003-07-15 10:14:54 +00:00
itojun fabed9f775 use bounded string op 2003-07-15 05:09:34 +00:00
itojun 7b8c272d80 be friendly to unifdef(1) 2003-07-14 08:36:27 +00:00
thorpej 715b5daad8 Remove GCC 3.3 hack; the libtelnet code has been changed to avoid the
warning.
2003-03-28 21:03:48 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
thorpej baaf41b59f Restructure the Duff's device in kerberos4_cksum() to avoid
a bogus unreachable-code warning from GCC 3.x.
2002-11-05 22:34:50 +00:00
thorpej 6801f50792 context -> telnet_context in two places. 2002-09-20 22:25:49 +00:00
joda a9b4e358d7 make sure the client creates a subkey; also make the server check that
it actually got a subkey, and if not use the session key
2002-09-20 14:45:29 +00:00
itojun 9ee65722f3 backout previous, <des.h> is part of kerberos 4 API 2002-08-29 14:53:21 +00:00
itojun 8f5dda1c53 openssl/des.h, not des.h 2002-08-29 14:40:52 +00:00
wiz aa30599e06 __STDC__ is always defined on NetBSD. 2002-05-26 22:01:47 +00:00
thorpej 9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
thorpej 7be0879164 Hack around GCC PR optmization/5230 if HAVE_GCC3 is set. (GCC 3.x
issues spurious warning when compiling a Duff's device with optimization.)
2002-01-29 17:58:36 +00:00
lukem 0878e1d37d fix WARNS=2 warnings 2001-11-30 04:44:24 +00:00
lukem c1b95c0073 explicitly set to WARNS?=1 2001-11-05 15:22:23 +00:00
assar 2a2aa85a8d update infrastructure for krb4 1.1 and heimdal 0.4e 2001-09-17 12:34:40 +00:00
itojun 35a07da1df use openssl 0.9.6a. shlib major # is bumped for libcrypto, libssl and
all kerberos libraries.
2001-04-12 07:48:03 +00:00
assar 8454735dc5 update for new libkrb5 2001-02-11 18:28:50 +00:00
christos b58d5c5218 eliminate redundant decls. 2001-01-06 23:36:36 +00:00
christos c0d0aa9ecf protect against multiple inclusions, and remove redundant decls. 2001-01-06 23:36:07 +00:00
thorpej 2dbbadab05 Handle krb5_init_context() failure, rather than dumping core. 2000-07-17 02:25:02 +00:00
thorpej df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej 5c099b14c1 Bring the telnet situation back into better shape. Specifically,
pull in just about all of the differences from the crypto-us telnet
suite (which includes Kerberos 4 and connection encryption support).
Also bring in the Kerberos 5 support from the Heimdal telnet, and
frob a little so that it can work with the non-Heimdal telnet suite.

There is still some work left to do, specifically:
- Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4
  module.
- Add connection encryption support to the Heimdal Kerberos 5
  module.  Hints on this can be taken from the MIT Kerberos 5
  module which still exists in crypto-us.

However, even with the shortcomings listed above, this is a
better situation than using the stock Heimdal telnet suite,
which does not understand the IPSec policy stuff, and is also
based on much older code which contains bugs that we have already
fixed in the NetBSD sources.
2000-06-22 06:47:42 +00:00
thorpej e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
thorpej 06f1910920 assar missed one net_write -> telnet_net_write 2000-02-01 22:29:27 +00:00
assar db7c8e49b3 (printd): update prorotype with const
(net_write): rename to telnet_net_write
2000-02-01 02:25:30 +00:00
assar 008e11ad22 (printd): const-poision 2000-02-01 02:23:20 +00:00
aidan b911aa52b9 Make kerberos5 authentication work, and kerberos5 forwarding mostly work. 1999-09-12 19:37:48 +00:00
mrg 51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
thorpej a3281f7249 Use bsd.crypto.mk. 1999-07-12 22:04:09 +00:00
simonb 3f777e28cc More trailing white space. 1999-07-02 15:58:35 +00:00
tls 957612effc bump shlib version number to match crypto-us version number (which was bumped b/c of new libdes version number, sigh) 1999-06-24 22:44:56 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
christos 363ecde5ca char -> unsigned char 1998-11-06 19:20:12 +00:00
msaitoh 370d381343 add missing "const". 1998-07-28 07:18:12 +00:00
mycroft 6de775c2ad const poisoning. 1998-07-27 01:45:09 +00:00
mycroft 35a77f5b74 Add explicit int types for egcs. 1998-03-30 22:19:00 +00:00
thorpej 43e175728b Fix printf format on the Alpha. 1998-03-03 01:15:13 +00:00
christos 0667d12238 WARNSify and RCSID cleanups 1998-02-27 10:33:46 +00:00
perry 93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
lukem 7eb1a33b9b use CPPFLAGS instead of CFLAGS 1997-10-23 03:24:56 +00:00
lukem 0a48c27c48 WARNSify 1997-10-09 13:52:40 +00:00
jtk 0dcff75424 update libtelnet with changes through 95.10.23 version 1996-02-24 01:15:15 +00:00
pk f0f12c9e95 Prototypes (PR#1104). 1995-06-05 19:46:49 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00