krb5.git
20 years ago* aclocal.m4 (WITH_CC): Use -Wl,-search_paths_first for linking on Darwin.
Ken Raeburn [Sat, 19 Jun 2004 00:21:48 +0000 (00:21 +0000)]
* aclocal.m4 (WITH_CC): Use -Wl,-search_paths_first for linking on Darwin.
(KRB5_AC_ENABLE_THREADS): On AIX, add PTHREAD_LIBS to LIBS; don't do it on
other platforms.  Override CC with PTHREAD_CC only if CC is not gcc.  Don't add
PTHREAD_CFLAGS to CFLAGS; substitute PTHREAD_CFLAGS separately.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16493 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* shlib.conf (*-*-darwin*, *-*-rhapsody*): Don't set PICFLAGS or LDFLAGS.
Ken Raeburn [Sat, 19 Jun 2004 00:19:03 +0000 (00:19 +0000)]
* shlib.conf (*-*-darwin*, *-*-rhapsody*): Don't set PICFLAGS or LDFLAGS.
Force static libraries only always, instead of just as the default.
(*-*-aix*): The initfini argument should be "-binitfini".  Use -bernotok, not
-berok.  Do use the INIT_FINI_PREP command in constructing MAKE_SHLIB_COMMAND.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16492 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* pre.in (PTHREAD_CFLAGS): New variable.
Ken Raeburn [Sat, 19 Jun 2004 00:18:18 +0000 (00:18 +0000)]
* pre.in (PTHREAD_CFLAGS): New variable.
(ALL_CFLAGS): Include it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16491 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (all-windows): Make autoconf.h in include\krb5 before building
Ken Raeburn [Sat, 19 Jun 2004 00:06:48 +0000 (00:06 +0000)]
* Makefile.in (all-windows): Make autoconf.h in include\krb5 before building
anything else.
(WINMAKEFILES): Add util\support\Makefile.
(util\support\Makefile) [DOS]: New target.
(CE): New variable.
($(CE)test1.h, $(CE)test2.h, $(CE)test1.c, $(CE)test2.c): New targets.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16490 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* win-pre.in (SLIB): New variable
Ken Raeburn [Fri, 18 Jun 2004 23:58:13 +0000 (23:58 +0000)]
* win-pre.in (SLIB): New variable

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16489 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* k5-platform.h (MAKE_INIT_FUNCTION, CALL_INIT_FUNCTION, INITIALIZER_RAN): Use
Ken Raeburn [Fri, 18 Jun 2004 23:43:47 +0000 (23:43 +0000)]
* k5-platform.h (MAKE_INIT_FUNCTION, CALL_INIT_FUNCTION, INITIALIZER_RAN): Use
the linker-driven version for Windows.  The auxinit function definition needs
an argument list.
(MAKE_FINI_FUNCTION): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16488 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): New
Ken Raeburn [Fri, 18 Jun 2004 23:36:57 +0000 (23:36 +0000)]
* Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): New
variables.
(NO_GLUE): Deleted.
(CGLUE, PGLUE): Use new separate glue files instead of no_glue.
(SRES) [WIN32]: New variable.
($(SRES), $(SLIB)) [WIN32]: New targets.
($(CLIB), $(PLIB), $(KLIB), $(GLIB)) [WIN32]: Depend on and link against
 $(SLIB) too.
($(SDEF)): New target.  Generate Windows export list from common symbol list.
($(COMERR_GLUE), $(PROF_GLUE), $(S_GLUE)): New targets.

* win_glue.c (control): Reference add/remove_error_table only if building for
krb4 library.  Add calls to library init/fini functions for other libraries.
For support library, also call a hook function on DLL_THREAD_DETACH.  If no
recognized library-specific macro is defined, don't compile.
(DllMain): Do call control() on DLL_THREAD_DETACH.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16487 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (OBJFILEDEP, OBJFILELIST) [DOS]: Include locally built object
Ken Raeburn [Fri, 18 Jun 2004 23:25:57 +0000 (23:25 +0000)]
* Makefile.in (OBJFILEDEP, OBJFILELIST) [DOS]: Include locally built object
files.
(OBJFILE, LIBOBJS, LOCALINCLUDES) [DOS]: Define.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16486 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (OBJFILELIST, OBJFILEDEP) [DOS]: Depend on locally built objects
Ken Raeburn [Fri, 18 Jun 2004 23:24:08 +0000 (23:24 +0000)]
* Makefile.in (OBJFILELIST, OBJFILEDEP) [DOS]: Depend on locally built objects
too.
(OBJFILE, LIBOBJS) [DOS]: Define.
($(BUILDTOP)/include/gssapi/gssapi.h, generic/gssapi.h, krb5/gssapi_err_krb5.h,
generic/gssapi_err_generic.h, krb5/gssapi_krb5.h) [DOS]: Disable dependencies
on Windows.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16485 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* version.rc: Add info for support library
Ken Raeburn [Fri, 18 Jun 2004 22:56:45 +0000 (22:56 +0000)]
* version.rc: Add info for support library

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16484 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (all-windows): Build support directory
Ken Raeburn [Fri, 18 Jun 2004 22:51:37 +0000 (22:51 +0000)]
* Makefile.in (all-windows): Build support directory

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16483 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (BUILDTOP, LIBNAME, XTRA, OBJFILE): Define for Windows.
Ken Raeburn [Fri, 18 Jun 2004 22:49:55 +0000 (22:49 +0000)]
* Makefile.in (BUILDTOP, LIBNAME, XTRA, OBJFILE): Define for Windows.
(LIBOBJS): Define.
($(BUILDTOP)/include/krb5/autoconf.h): Disable rule on Windows.

* threads.c (tls_idx, key_lock, destructors, destructors_set): New variables
for Windows.
(krb5int_thread_support_init, krb5int_thread_support_fini, k5_key_register,
k5_getspecific, k5_setspecific, k5_key_delete, krb5int_thread_detach_hook):
New functions for Windows.  Some are just placeholders.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16482 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in ($(OUTPRE)test_et.exe): New target.
Ken Raeburn [Fri, 18 Jun 2004 22:47:27 +0000 (22:47 +0000)]
* Makefile.in ($(OUTPRE)test_et.exe): New target.
(check-windows): Build and run test_et.exe.

* error_message.c: Include autoconf.h.
(HAVE_STRERROR) [_WIN32]: Don't define.
(error_message) [_WIN32]: Check for range WSABASEERR+[0,1100) instead of
all values under 12000.  Use k5_getspecific and k5_setspecific for local buffer.

* test_et.c (EXPORT_LIST): Define on Windows.
(main): Use add/remove_error_table, not the initialize_ routines.
(main) [EXPORT_LIST]: Don't test error_table_name, it's not in the export list.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16481 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* win-mac.h (HAVE_STRERROR, SYS_ERRLIST_DECLARED): Define
Ken Raeburn [Fri, 18 Jun 2004 22:45:00 +0000 (22:45 +0000)]
* win-mac.h (HAVE_STRERROR, SYS_ERRLIST_DECLARED): Define

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16480 dc483132-0cff-0310-8789-dd5450dbe970

20 years agooops, forgot something
Tom Yu [Thu, 17 Jun 2004 23:34:49 +0000 (23:34 +0000)]
oops, forgot something

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16479 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * default.exp (setup_krb5_conf): Default to not using SRV records
Tom Yu [Thu, 17 Jun 2004 23:14:19 +0000 (23:14 +0000)]
* default.exp (setup_krb5_conf): Default to not using SRV records
to look up KDCs, to avoid timeouts on KRBTEST.COM's DNS servers.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16478 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * ser_sctx.c (kg_ctx_size, kg_ctx_externalize): Adjust for new
Tom Yu [Thu, 17 Jun 2004 21:11:00 +0000 (21:11 +0000)]
* ser_sctx.c (kg_ctx_size, kg_ctx_externalize): Adjust for new
field cred_rcache.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16477 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * libgssrpc.exports: Update
Tom Yu [Thu, 17 Jun 2004 18:05:47 +0000 (18:05 +0000)]
* libgssrpc.exports: Update

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16476 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* util_validate.c (g_save): Call gssint_initialize_library
Ken Raeburn [Thu, 17 Jun 2004 02:23:21 +0000 (02:23 +0000)]
* util_validate.c (g_save): Call gssint_initialize_library

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16475 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoPurge make targets and variables (and a few files) relating to the old,
Ken Raeburn [Thu, 17 Jun 2004 01:56:34 +0000 (01:56 +0000)]
Purge make targets and variables (and a few files) relating to the old,
unmaintained Mac OS 9 (and earlier) support.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16473 dc483132-0cff-0310-8789-dd5450dbe970

20 years agomore rpc namespace cleanup
Tom Yu [Wed, 16 Jun 2004 22:14:21 +0000 (22:14 +0000)]
more rpc namespace cleanup

* auth_gss.h: Conditionalize log_debug, log_status, log_hexdump
prototypes on GSSRPC__IMPL.

* rename.h: More namespace fixes.

ticket: new
status: open
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16471 dc483132-0cff-0310-8789-dd5450dbe970

20 years agomake depend
Tom Yu [Wed, 16 Jun 2004 20:18:10 +0000 (20:18 +0000)]
make depend

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16470 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * depfix.sed: Delete /os/usr/include as well, to cope with an
Tom Yu [Wed, 16 Jun 2004 20:17:00 +0000 (20:17 +0000)]
* depfix.sed: Delete /os/usr/include as well, to cope with an
athena hack.  (#include "/os/usr/include/sys/rwstlock.h" in
sys/vnode.h)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16469 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoThis commit merges the RPCSEC_GSS integration branch onto the trunk.
Tom Yu [Wed, 16 Jun 2004 03:11:54 +0000 (03:11 +0000)]
This commit merges the RPCSEC_GSS integration branch onto the trunk.
Remaining work includes:

* Default to using kadmin/fqdn for SEAM compatibility

* Namespace cleanups and other API tweaks -- this API is not stable yet

* Fix lib/rpc/unit-test testsuite to test RPCSEC_GSS in addition to
  AUTH_GSSAPI

Additional work will be tracked in separate tickets.  This merge is
bracketed between the tags "tlyu-umich-rpc-merge-pre" and
"tlyu-umich-rpc-merge-post".

ticket: 2578

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16467 dc483132-0cff-0310-8789-dd5450dbe970

20 years agook, let's try this again..
Tom Yu [Wed, 16 Jun 2004 02:37:23 +0000 (02:37 +0000)]
ok, let's try this again..

* accept_sec_context.c (krb5_gss_accept_sec_context): Only null
out the auth_context's rcache if it was provided by acceptor
creds; this prevents a leak.

* delete_sec_context.c (krb5_gss_delete_sec_context): Only null
out the auth_context's rcache if it was provided by acceptor
creds; this prevents a leak.

* gssapiP_krb5.h (krb5_gss_ctx_id_rec): Add cred_rcache to track
whether acceptor creds provided an rcache.

ticket: 2600

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16465 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (LOCALINCLUDES): Add $srcdir/os
Ken Raeburn [Wed, 16 Jun 2004 02:36:44 +0000 (02:36 +0000)]
* Makefile.in (LOCALINCLUDES): Add $srcdir/os

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16464 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* krb5_libinit.c: Include os-proto.h
Ken Raeburn [Wed, 16 Jun 2004 02:36:06 +0000 (02:36 +0000)]
* krb5_libinit.c: Include os-proto.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16463 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (SHLIB_RDIRS): Set
Ken Raeburn [Wed, 16 Jun 2004 02:32:33 +0000 (02:32 +0000)]
* Makefile.in (SHLIB_RDIRS): Set

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16462 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* krb5_libinit.c (krb5int_lib_init): Initialize krb5int_us_time_mutex
Ken Raeburn [Tue, 15 Jun 2004 19:08:04 +0000 (19:08 +0000)]
* krb5_libinit.c (krb5int_lib_init): Initialize krb5int_us_time_mutex

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16455 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoLocalize the OS-specific bits of retrieving the current time a bit more.
Ken Raeburn [Tue, 15 Jun 2004 19:06:13 +0000 (19:06 +0000)]
Localize the OS-specific bits of retrieving the current time a bit more.
** not yet tested on Windows **

* c_ustime.c: Include k5-thread.h.
(get_time_now): New function, holds system-dependent code.
(krb5int_us_time_mutex): New mutex.
(struct time_now): New type.
(last_time): New variable, replaces old last_tv, last_sec, last_usec.
(krb5_crypto_us_timeofday): Rewrite.  Do locking around access to previously
returned value, and ensure that we don't return duplicate values.
* os-proto.h: Include k5-thread.h.
(krb5int_us_time_mutex): Declare.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16454 dc483132-0cff-0310-8789-dd5450dbe970

20 years agodon't leak rcaches in accept_sec_context
Tom Yu [Tue, 15 Jun 2004 18:57:17 +0000 (18:57 +0000)]
don't leak rcaches in accept_sec_context

* accept_sec_context.c (krb5_gss_accept_sec_context): Don't null
out rcache of auth_context prior to free if rcache was temporarily
allocated; this prevents leaking rcaches.

ticket: new
version_reported: 1.3.4
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16453 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* libkrb5.exports: Drop krb5_init_ets, krb5_free_ets, krb5_kt_default_vno, and
Ken Raeburn [Tue, 15 Jun 2004 18:36:03 +0000 (18:36 +0000)]
* libkrb5.exports: Drop krb5_init_ets, krb5_free_ets, krb5_kt_default_vno, and
krb5int_profile_shared_data.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16452 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* exports.crypto, exports.des425, exports.kdb5, exports.krb5: Unused files deleted
Ken Raeburn [Tue, 15 Jun 2004 18:35:19 +0000 (18:35 +0000)]
* exports.crypto, exports.des425, exports.kdb5, exports.krb5: Unused files deleted

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16451 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* rc_io.c (dir, dirlen): Top-level variables deleted.
Ken Raeburn [Tue, 15 Jun 2004 17:52:23 +0000 (17:52 +0000)]
* rc_io.c (dir, dirlen): Top-level variables deleted.
(getdir): Now returns the pointer, doesn't set top-level variables.
(GETDIR): Set local variables dir and dirlen using the function's return value.
(krb5_rc_io_creat, krb5_rc_io_open_internal): Add the new local variables.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16450 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* kt_file.c (krb5_kt_default_vno): Replaced variable with macro
Ken Raeburn [Tue, 15 Jun 2004 17:49:09 +0000 (17:49 +0000)]
* kt_file.c (krb5_kt_default_vno): Replaced variable with macro

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16449 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (SHLIB_EXPLIBS): Add $(LIBS)
Ken Raeburn [Tue, 15 Jun 2004 17:47:25 +0000 (17:47 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Add $(LIBS)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16448 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (SHLIB_DIRS, SHLIB_EXPLIBS, SHLIB_EXPDEPLIBS): Set to depend on
Ken Raeburn [Tue, 15 Jun 2004 17:45:55 +0000 (17:45 +0000)]
* Makefile.in (SHLIB_DIRS, SHLIB_EXPLIBS, SHLIB_EXPDEPLIBS): Set to depend on
the new support library.
(SHLIB_LIBS): Don't define.
* configure.in: Use BUILD_LIBRARY_WITH_DEPS instead of the no-deps version.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16447 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoUpdated to split libraries and clients into separate build systems. Note; this is...
Alexandra Ellwood [Mon, 14 Jun 2004 21:29:29 +0000 (21:29 +0000)]
Updated to split libraries and clients into separate build systems.  Note; this is not aware of build changes on the trunk

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16445 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* libkrb5support.exports: Drop krb5int_foreach_localaddr
Ken Raeburn [Mon, 14 Jun 2004 18:11:48 +0000 (18:11 +0000)]
* libkrb5support.exports: Drop krb5int_foreach_localaddr

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16444 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoModified Header Generation target so it runs autoconf and builds the autogenerated...
Alexandra Ellwood [Mon, 14 Jun 2004 15:07:20 +0000 (15:07 +0000)]
Modified Header Generation target so it runs autoconf and builds the autogenerated headers for the split libraries and clients build systems

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16441 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * init_sec_context.c (krb5_gss_init_sec_context): Fix pointer
Tom Yu [Mon, 14 Jun 2004 05:05:38 +0000 (05:05 +0000)]
* init_sec_context.c (krb5_gss_init_sec_context): Fix pointer
assignment when retrieving k5_context from existing
context_handle.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16440 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* pty-int.h (_AIX && _THREAD_SAFE): Undefine _THREAD_SAFE
Ken Raeburn [Sat, 12 Jun 2004 01:11:15 +0000 (01:11 +0000)]
* pty-int.h (_AIX && _THREAD_SAFE): Undefine _THREAD_SAFE

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16439 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (include/generated.stmp): New intermediate target file, to
Ken Raeburn [Sat, 12 Jun 2004 01:09:43 +0000 (01:09 +0000)]
* Makefile.in (include/generated.stmp): New intermediate target file, to
prevent repeated generation of unchanging header files.
(include/config.h, include/db-config.h): Depend on it.
($(srcdir)/include/autoconf.stmp, $(srcdir)/include/config.h.in): Likewise.
(clean-includes): Delete the new intermediate target files.
* configure.in: Generate include/generated.stmp when config.status is run.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16438 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoupdate for 1.3.4
Tom Yu [Fri, 11 Jun 2004 18:57:03 +0000 (18:57 +0000)]
update for 1.3.4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16434 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (gssapi_krb5.h): Add Windows version of generation rule
Ken Raeburn [Fri, 11 Jun 2004 01:22:16 +0000 (01:22 +0000)]
* Makefile.in (gssapi_krb5.h): Add Windows version of generation rule

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16432 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* asn1_encode.c (asn1_encode_generaltime): Fix memcpy argument to actually
Ken Raeburn [Fri, 11 Jun 2004 01:08:23 +0000 (01:08 +0000)]
* asn1_encode.c (asn1_encode_generaltime): Fix memcpy argument to actually
be a pointer.
(asn1_encode_enumerated): Drop "const" from scalar argument type.
* asn1_encode.h (asn1_encode_integer, asn1_encode_enumerated,
asn1_encode_unsigned_integer, asn1_encode_octetstring,
asn1_encode_charstring, asn1_encode_printablestring,
asn1_encode_ia5string, asn1_encode_generaltime,
asn1_encode_generalstring): Drop "const" from scalar argument types.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16431 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* admin.texinfo (Supported Encryption Types): Reflect new AES support in
Ken Raeburn [Thu, 10 Jun 2004 21:46:01 +0000 (21:46 +0000)]
* admin.texinfo (Supported Encryption Types): Reflect new AES support in
GSSAPI, but keep a warning about interoperability with old versions.

ticket: 2585
tags: pullup
target_version: 1.3.4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16430 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in (krb5/gssapi_krb5.h): Depend on recursion rule
Ken Raeburn [Thu, 10 Jun 2004 18:23:48 +0000 (18:23 +0000)]
* Makefile.in (krb5/gssapi_krb5.h): Depend on recursion rule

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16429 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoInstall gssapi_krb5.h from build dir not srcdir
Sam Hartman [Thu, 10 Jun 2004 02:17:39 +0000 (02:17 +0000)]
Install gssapi_krb5.h from build dir not srcdir

ticket: 2587
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16428 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoIf channel bindings are supplied to server require them to be matched
Sam Hartman [Wed, 9 Jun 2004 18:30:01 +0000 (18:30 +0000)]
If channel bindings are supplied to server require them to be matched

Based on discussion on kerberos@mit.edu, the decision to allow null
channel bindings from a client to match even when server channel
bindings are supplied is flawed.  This decision assumes that we cannot
get server implementations to change even though we are able to deploy
a new Kerberos implementation on the server.  In practice the server
implementations in question have actually changed and so the only part
of revision 1.54 of accept_sec_context.c we actually need is the code
to ignore channel bindings if null channel bindings are passed into
the server.  Thus the change to allow null channel bindings from the
client to match against any channel bindings on the server is backed
out.

Ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16427 dc483132-0cff-0310-8789-dd5450dbe970

20 years agough. revert last change
Ken Raeburn [Wed, 9 Jun 2004 00:11:29 +0000 (00:11 +0000)]
ugh.  revert last change

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16426 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* sendto_kdc.c (krb5int_sendtokdc_debug_handler) [!DEBUG]: Define as a macro,
Ken Raeburn [Wed, 9 Jun 2004 00:06:34 +0000 (00:06 +0000)]
* sendto_kdc.c (krb5int_sendtokdc_debug_handler) [!DEBUG]: Define as a macro,
not a variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16425 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoRun make depend
Sam Hartman [Tue, 8 Jun 2004 21:55:40 +0000 (21:55 +0000)]
Run make depend

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16424 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoPatch from kwc@citi.umich.edu to support
Sam Hartman [Tue, 8 Jun 2004 21:50:17 +0000 (21:50 +0000)]
Patch from kwc@citi.umich.edu to support
gss_krb5_export_lucid_sec_context and other facilities for NFSv4
implementations.

In order to apply this patch gss_krb5.h needs to be auto-generated so we can expose a 64-bit type for sequence numbers.

Ticket: 2587
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16423 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in ($(srcdir)/krb5/autoconf.stmp): Always use --include, don't
Ken Raeburn [Tue, 8 Jun 2004 20:05:39 +0000 (20:05 +0000)]
* Makefile.in ($(srcdir)/krb5/autoconf.stmp): Always use --include, don't
try --localdir.
(all-recurse): Depend on krb5/autoconf.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16422 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* Makefile.in ($(srcdir)/include/config.h.in): Always use --include, never try
Ken Raeburn [Tue, 8 Jun 2004 19:48:56 +0000 (19:48 +0000)]
* Makefile.in ($(srcdir)/include/config.h.in): Always use --include, never try
--localdir.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16421 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* aclocal.m4 (CONFIG_RULES): Don't set AUTOCONF, AUTOCONFFLAGS, AUTOHEADER,
Ken Raeburn [Tue, 8 Jun 2004 19:27:57 +0000 (19:27 +0000)]
* aclocal.m4 (CONFIG_RULES): Don't set AUTOCONF, AUTOCONFFLAGS, AUTOHEADER,
AUTOHEADERFLAGS, AUTOCONFINCFLAGS.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16420 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* pre.in (AUTOCONF, AUTOHEADER): Always set to autoconf and autoheader
Ken Raeburn [Tue, 8 Jun 2004 19:26:06 +0000 (19:26 +0000)]
* pre.in (AUTOCONF, AUTOHEADER): Always set to autoconf and autoheader
respectively.
(AUTOCONFFLAGS, AUTOHEADERFLAGS): Always set to empty.
* post.in (Makefile): Always run autoconf with --include, don't bother with
--localdir any more.  Don't delete autom4te.cache here.
(clean-unix): Delete autom4te.cache.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16419 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* shlib.conf (*-*-darwin*, *-*-rhapsody*): Add -Wl,-search_paths_first to
Ken Raeburn [Tue, 8 Jun 2004 19:05:05 +0000 (19:05 +0000)]
* shlib.conf (*-*-darwin*, *-*-rhapsody*): Add -Wl,-search_paths_first to
linker flags.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16418 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * kpasswd.c (get_name_from_passwd_file): Do not cast return from
Ezra Peisach [Mon, 7 Jun 2004 19:31:23 +0000 (19:31 +0000)]
* kpasswd.c (get_name_from_passwd_file): Do not cast return from
getuid() to int as argument to getpwuid.

* ksetpwd.c: Include time.h for time() prototype.
(main): Return 0 on success.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16417 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * network.c (paddr): Use unsigned int for length.
Ezra Peisach [Mon, 7 Jun 2004 19:25:32 +0000 (19:25 +0000)]
* network.c (paddr): Use unsigned int for length.
(kdc_conn_type): Declare CONN_ enumerated types in connection as
distinct type.
(add_fd): Declare as taking enum type instead of simply
integer. Prevents assignment of interger to an enum.
(process_tcp_connection): Remove variable assigned to but never used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16416 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* yarrow.c (yarrow_str_error): Now const
Ken Raeburn [Fri, 4 Jun 2004 22:46:11 +0000 (22:46 +0000)]
* yarrow.c (yarrow_str_error): Now const

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16415 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* asn1_encode.c (asn1_encode_generaltime): Use gmtime_r if available
Ken Raeburn [Fri, 4 Jun 2004 22:44:30 +0000 (22:44 +0000)]
* asn1_encode.c (asn1_encode_generaltime): Use gmtime_r if available

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16414 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* str_conv.c (krb5_string_to_timestamp): Use localtime_r if available.
Ken Raeburn [Fri, 4 Jun 2004 22:43:15 +0000 (22:43 +0000)]
* str_conv.c (krb5_string_to_timestamp): Use localtime_r if available.
(krb5_timestamp_to_string, krb5_timestamp_to_sfstring): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16413 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* parse.c (krb5_parse_name): Use assert and abort, not exit
Ken Raeburn [Fri, 4 Jun 2004 22:42:32 +0000 (22:42 +0000)]
* parse.c (krb5_parse_name): Use assert and abort, not exit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16412 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoChange all uses of LIB in UNIX makefiles to LIBBASE, for better Windows
Ken Raeburn [Fri, 4 Jun 2004 22:35:25 +0000 (22:35 +0000)]
Change all uses of LIB in UNIX makefiles to LIBBASE, for better Windows
compatibility.  (Windows nmake exports make variables into the environment, and
LIB is treated by the Windows linker as a search path for libraries, thus
breaking the linking on Windows of anything needing libraries from the search
path in directories where we build libraries on UNIX.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoOops
Ken Raeburn [Fri, 4 Jun 2004 21:37:18 +0000 (21:37 +0000)]
Oops

* srv_rcache.c (krb5_get_server_rcache): Don't forget to actually include the
cache type in the cache name, after looking it up.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16410 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* kuserok.c (krb5_kuserok): Handle draft POSIX versions of getpwnam_r
Ken Raeburn [Fri, 4 Jun 2004 20:29:22 +0000 (20:29 +0000)]
* kuserok.c (krb5_kuserok): Handle draft POSIX versions of getpwnam_r

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16409 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* prof_file.c (profile_open_file): Handle earlier (draft POSIX) specifications
Ken Raeburn [Fri, 4 Jun 2004 20:28:39 +0000 (20:28 +0000)]
* prof_file.c (profile_open_file): Handle earlier (draft POSIX) specifications
of getpwuid_r.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16408 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* configure.in: Check number of arguments to getpwnam_r and getpwuid_r and
Ken Raeburn [Fri, 4 Jun 2004 15:46:30 +0000 (15:46 +0000)]
* configure.in: Check number of arguments to getpwnam_r and getpwuid_r and
define some new macros if they're the four-argument draft POSIX versions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16407 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* configure.in: Check for getpwnam_r, gmtime_r, and localtime_r
Ken Raeburn [Fri, 4 Jun 2004 01:06:43 +0000 (01:06 +0000)]
* configure.in: Check for getpwnam_r, gmtime_r, and localtime_r

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16406 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* configure.in: Check for various _r functions needed for thread safety. If
Ken Raeburn [Fri, 4 Jun 2004 01:05:24 +0000 (01:05 +0000)]
* configure.in: Check for various _r functions needed for thread safety.  If
enable-thread-support is specified, complain about any that aren't found.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16405 dc483132-0cff-0310-8789-dd5450dbe970

20 years agobump some missed version numbers
Tom Yu [Thu, 3 Jun 2004 22:50:35 +0000 (22:50 +0000)]
bump some missed version numbers

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16403 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoOops. Fixes last night's test failures in last night's build..
Ken Raeburn [Thu, 3 Jun 2004 22:44:18 +0000 (22:44 +0000)]
Oops.  Fixes last night's test failures in last night's build..

* com_err.c (com_err_va): In success case, don't then fall through into error
case.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16402 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoupdate for krb5-1.3.4-beta1
Tom Yu [Thu, 3 Jun 2004 21:07:25 +0000 (21:07 +0000)]
update for krb5-1.3.4-beta1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16397 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoCheckpoint notes on thread safety technique and status of various libraries
Ken Raeburn [Thu, 3 Jun 2004 02:21:30 +0000 (02:21 +0000)]
Checkpoint notes on thread safety technique and status of various libraries

* threads.txt, thread-safe.txt: New files.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16396 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoCloser to thread-safe..
Ken Raeburn [Thu, 3 Jun 2004 02:19:23 +0000 (02:19 +0000)]
Closer to thread-safe..

* configure.in: Check for getpwuid_r.
* prof_file.c (profile_open_file) [HAVE_PWD_H && HAVE_GETPWUID_R]: Use
getpwuid_r if available.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16395 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoThe com_err library is now probably as thread-safe as it's going to get, on
Ken Raeburn [Thu, 3 Jun 2004 00:30:02 +0000 (00:30 +0000)]
The com_err library is now probably as thread-safe as it's going to get, on
UNIX; Windows still needs work....

* com_err.c: Include stdlib.h.
(com_err_hook_lock): New mutex.
(com_err_lock_hook_handle): New function.
(com_err_va, set_com_err_hook, reset_com_err_hook): Call com_err_finish_init,
and grab the lock.
* error_message.c: Don't include k5-thread.h.
(com_err_finish_init): New function.
(com_err_initialize): Initialize the new mutex.
* error_table.h: Include k5-thread.h.
(com_err_hook_lock, com_err_finish_init): Declare.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16394 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* k5-thread.h: Error out at compile time if thread support is enabled but the
Ken Raeburn [Wed, 2 Jun 2004 23:47:36 +0000 (23:47 +0000)]
* k5-thread.h: Error out at compile time if thread support is enabled but the
thread system isn't pthreads.  (This is after the code disabling thread support
for non-pthreads systems, so it's a placeholder for now that should never get
invoked.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16393 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* prng.c (init_once): Variable deleted.
Ken Raeburn [Wed, 2 Jun 2004 23:41:51 +0000 (23:41 +0000)]
* prng.c (init_once): Variable deleted.
(krb5_c_random_add_entropy): Do the initialization once, using the yarrow_lock
mutex instead of k5_once to protect it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16392 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* disp_com_err_status.c (init_et): Variable deleted.
Ken Raeburn [Wed, 2 Jun 2004 23:40:12 +0000 (23:40 +0000)]
* disp_com_err_status.c (init_et): Variable deleted.
(g_display_com_err_status): Don't call initialize_ggss_error_table
conditionally; instead, always call gssint_initialize_library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16391 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* gss_libinit.c (gssint_lib_init): Initialize error tables here.
Ken Raeburn [Wed, 2 Jun 2004 22:54:31 +0000 (22:54 +0000)]
* gss_libinit.c (gssint_lib_init): Initialize error tables here.
(gssint_initialize_library): Don't do it directly here.  Make sure
gssint_lib_init has been called, and return the status.
(gssint_lib_fini): Remove error tables here.
(gssint_cleanup_library): Function deleted.
(initialized): Variable deleted.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16390 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoOops. Add and remove k524 error table too
Ken Raeburn [Wed, 2 Jun 2004 22:38:45 +0000 (22:38 +0000)]
Oops.  Add and remove k524 error table too

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16389 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoAdd/remove error tables in library initialization/termination, not per context.
Ken Raeburn [Wed, 2 Jun 2004 22:35:33 +0000 (22:35 +0000)]
Add/remove error tables in library initialization/termination, not per context.
Use only one library initialization scheme, and install the error tables in
only one place.

* krb5_libinit.c (initialized): Variable deleted, all references removed.
(krb5int_lib_init): Initialize error tables here.
(krb5int_initialize_library): Don't do it here.
* error_tables/Makefile.in (STLIBOBJS, OBJS, SRCS): Drop init_ets code.
* krb/init_ctx.c (init_common): Don't call krb5_init_ets.
(krb5_free_context): Don't call krb5_free_ets.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16388 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* srv_rcache.c (krb5_get_server_rcache): Use krb5_rc_resolve_full instead of
Ken Raeburn [Wed, 2 Jun 2004 22:29:18 +0000 (22:29 +0000)]
* srv_rcache.c (krb5_get_server_rcache): Use krb5_rc_resolve_full instead of
constructing an rcache object locally.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16387 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoMove definitions of struct krb5_rc_st, struct _krb5_rc_ops, krb5_rc_ops, and
Ken Raeburn [Wed, 2 Jun 2004 22:25:37 +0000 (22:25 +0000)]
Move definitions of struct krb5_rc_st, struct _krb5_rc_ops, krb5_rc_ops, and
declarations of krb5_rc_register_type, krb5_rc_dfl_ops from k5-int.h to
rc-int.h.  Include rc-int.h in the krb5/rcache files that need it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16386 dc483132-0cff-0310-8789-dd5450dbe970

20 years agofix missing braces in an_to_ln.c security patch
Tom Yu [Wed, 2 Jun 2004 21:56:02 +0000 (21:56 +0000)]
fix missing braces in an_to_ln.c security patch

* an_to_ln.c (do_replacement): Patch from Bill Dodd to fix missing
braces in previous security patch.

ticket: new
tags: pullup
target_version: 1.3.4
version_reported: 1.3.4
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16384 dc483132-0cff-0310-8789-dd5450dbe970

20 years agofix buffer overflow in an_to_ln.c
Tom Yu [Tue, 1 Jun 2004 20:16:38 +0000 (20:16 +0000)]
fix buffer overflow in an_to_ln.c

* an_to_ln.c (rule_an_to_ln): Fix buffer overflow when parsing
principal names into components.
(do_replacement): likewise
(aname_replacer): Support error return from do_replacement

ticket: new
version_reported: 1.3.3
target_version: 1.3.4
tags: pullup
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16381 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * kadmin.h, keytab.c: Remove inclusion of k5-int.h
Ezra Peisach [Mon, 31 May 2004 12:39:16 +0000 (12:39 +0000)]
    * kadmin.h, keytab.c: Remove inclusion of k5-int.h

Nothing internal is referenced - krb5.h is sufficient.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16380 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* error_message.c (terminated): New variable.
Ken Raeburn [Mon, 31 May 2004 04:10:18 +0000 (04:10 +0000)]
* error_message.c (terminated): New variable.
(com_err_terminate): Set it.
(remove_error_table): Check it, warn and abort if set.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16379 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* aclocal.m4 (KRB5_AC_GCC_ATTRS): On AIX 4, mark the destructor attribute as
Ken Raeburn [Sun, 30 May 2004 20:06:15 +0000 (20:06 +0000)]
* aclocal.m4 (KRB5_AC_GCC_ATTRS): On AIX 4, mark the destructor attribute as
always not working, until we can construct a good test for the order of
destructors in the multiple shared library case.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16378 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* shlib.conf (*-*-aix*): Use linker options for library finalization
Ken Raeburn [Sun, 30 May 2004 20:04:04 +0000 (20:04 +0000)]
* shlib.conf (*-*-aix*): Use linker options for library finalization

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16377 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* getdate.y: Include krb5.h and kadmin.h.
Ken Raeburn [Sun, 30 May 2004 07:27:32 +0000 (07:27 +0000)]
* getdate.y: Include krb5.h and kadmin.h.
(get_date): Drop second argument; always use NULL.
* kadmin.h: Include time.h and/or sys/time.h.
(get_date): Declare.
* kadmin.c (get_date): Don't declare.
(kadmin_parse_princ_args, kadmin_parse_policy_args): Drop second argument to
get_date.
* Makefile.in (LOCALINCLUDES): Define.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16376 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoSilence some gcc compilation warnings:
Ken Raeburn [Sun, 30 May 2004 06:05:54 +0000 (06:05 +0000)]
Silence some gcc compilation warnings:
* ksetpwd.c (verify_creds, get_init_creds_opt_init, userinitcontext,
init_creds): Now static.
(main): Remove one of two variables named "ccache".

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16375 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* clnt_tcp.c: Include string.h
Ken Raeburn [Sun, 30 May 2004 05:59:46 +0000 (05:59 +0000)]
* clnt_tcp.c: Include string.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16374 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* k5-int.h (krb5int_crypto_init, krb5int_prng_init): Declare
Ken Raeburn [Sun, 30 May 2004 05:57:29 +0000 (05:57 +0000)]
* k5-int.h (krb5int_crypto_init, krb5int_prng_init): Declare

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16373 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* setenv.c: Include string.h
Ken Raeburn [Sun, 30 May 2004 05:44:10 +0000 (05:44 +0000)]
* setenv.c: Include string.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16372 dc483132-0cff-0310-8789-dd5450dbe970

20 years agoAdd prototypes for library init and fini functions. Makefile dependencies
Ezra Peisach [Fri, 28 May 2004 03:44:33 +0000 (03:44 +0000)]
Add prototypes for library init and fini functions. Makefile dependencies
updated.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16371 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago* win-pre.in (CP): Copy nul: plus the file, to avoid carrying over the original
Ken Raeburn [Thu, 27 May 2004 23:07:50 +0000 (23:07 +0000)]
* win-pre.in (CP): Copy nul: plus the file, to avoid carrying over the original
modification time, since some of our makefiles depend on $(CP) updating the
timestamp.  Use binary mode for the copy, because default/ASCII seems to cause
a ^Z to be added to the file.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16369 dc483132-0cff-0310-8789-dd5450dbe970

20 years ago * yarrow.c (krb5int_yarrow_final): Call
Ezra Peisach [Wed, 26 May 2004 18:17:35 +0000 (18:17 +0000)]
* yarrow.c (krb5int_yarrow_final): Call
krb5int_yarrow_cipher_final before zeroing out reference to
memory.

* ycipher.[ch] (krb5int_yarrow_cipher_final): Free CIPHER_CTX memory
allocated by krb5int_yarrpw_cipher_init().

These cleanup handlers are now invoked in the library "fini" handlers.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16368 dc483132-0cff-0310-8789-dd5450dbe970