Skip to content
Commits on Jun 21, 2005
  1. This commit was manufactured by cvs2svn to create tag

    (no author) committed Jun 21, 2005
    'trunk-before-novell-dal-merge'.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/tags/trunk-before-novell-dal-merge@17257 dc483132-0cff-0310-8789-dd5450dbe970
  2. Update dependencies.

    raeburn committed Jun 21, 2005
    N.B.: The version of gcc used this time ("gcc version 3.4.3 20041212
    (Red Hat 3.4.3-9.EL4)") seems to emit some duplicate dependencies --
    some header files get listed twice.  This is annoying but shouldn't
    cause any harm....
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17256 dc483132-0cff-0310-8789-dd5450dbe970
  3. remove old makefile

    raeburn committed Jun 21, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17255 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 15, 2005
  1. ticket: new

    raeburn committed Jun 15, 2005
    subject: ksu keeps old ccache locked
    target_version: 1.4.2
    tags: pullup
    
    ksu can keep the user's ccache (the old one, not the newly created
    one) locked while the new shell is running.  It's a read lock, which
    prevents other processes from modifying the file (e.g., adding newly
    acquired tickets); they just hang until ksu exits.
    
    The problem is really a bug down in the ccache code, where the wrong
    data pointer is pulled out of a linked list, and used.  But ksu is one
    of the few programs that manipulates multiple ccaches; most other
    programs wouldn't show the problem, and it only shows up with ksu if
    some other program is also being run that has to fetch new tickets.
    
    Any other programs maintaining multiple file ccaches may be affected
    as well.
    
    * cc_file.c (dereference): Fix test is list-walking loop.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17243 dc483132-0cff-0310-8789-dd5450dbe970
  2. updated to reflect new header generation

    lxs committed Jun 15, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17242 dc483132-0cff-0310-8789-dd5450dbe970
  3. * k5-platform.h: Include endian.h if it's available, or machine/endia…

    raeburn committed Jun 15, 2005
    …n.h if
    
    it's available.  Include byteswap.h if available.
    (K5_LE, K5_BE): Define based on endianness macros from header files, if
    available.  Only do the architecture tests if this fails.
    (SWAP16, SWAP32, SWAP64): Define if byteswap.h and bswap_16 are available.
    ({load,store}_{16,32,64}_le): Disable building of little-endian versions, which
    aren't currently used.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17239 dc483132-0cff-0310-8789-dd5450dbe970
  4. * configure.in: Check for endian.h.

    raeburn committed Jun 15, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17238 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 10, 2005
  1. * destest.c (main): Force testing of unaligned access to input, outpu…

    raeburn committed Jun 10, 2005
    …t, and key
    
    blocks.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17237 dc483132-0cff-0310-8789-dd5450dbe970
  2. * configure.in: Check for headers byteswap.h, sys/bswap.h, machine/en…

    raeburn committed Jun 10, 2005
    …dian.h,
    
    machine/byte_order.h, and functions bswap16, bswap64, bswap_16, and bswap_64.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17236 dc483132-0cff-0310-8789-dd5450dbe970
  3. * kdb_dbm.c: Unused file deleted.

    raeburn committed Jun 10, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17235 dc483132-0cff-0310-8789-dd5450dbe970
  4. ticket: 3060

    raeburn committed Jun 10, 2005
    status: open
    
    * sendto_kdc.c (service_fds): Don't create a select_state on the stack; take an
    additional argument pointing to it.
    (krb5int_sendto): Don't create a select_state on the stack; instead, allocate
    two on the heap, passing the second as the new argument to service_fds.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17234 dc483132-0cff-0310-8789-dd5450dbe970
  5. add comment

    raeburn committed Jun 10, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17233 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 9, 2005
  1. Use GCC's packed-structure support to try to optimize unaligned loads…

    raeburn committed Jun 9, 2005
    … and
    
    stores of values.  (E.g., on x86, gcc will emit a word load or store regardless
    of alignment; on sparc or alpha, it will do aligned word accesses.  The old C
    code does byte operations and arithmetic, always.)  Tested in crypto code on
    x86, sparc, and amd64.
    
    * k5-platform.h (load_*): Change argument type to point to const.
    (K5_BE, K5_LE): New macros, defined based on architecture macros for certain
    big-endian and little-endian platforms, respectively.
    (PUT, GET) [__GNUC__]: New macros.  Use GCC's packed-structure support to do
    unaligned loads and stores.
    (PUTSWAPPED, GETSWAPPED) [__GNUC__]: Similar, but invoke a SWAP<size> macro
    (not defined yet) to swap the bytes of the value.
    (store_*, load_*): Use these macros when using GCC, depending on endianness and
    availability of the SWAP<size> macros.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17232 dc483132-0cff-0310-8789-dd5450dbe970
  2. * f_tables.h: Include k5-platform.h.

    raeburn committed Jun 9, 2005
    (GET_HALF_BLOCK): Use load_32_be.
    (PUT_HALF_BLOCK): Use store_32_be.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17231 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 7, 2005
  1. ticket: new

    raeburn committed Jun 7, 2005
    subject: don't always require support library when building with sun cc
    
    By default, a non-GCC configuration will not optimize during the build.  The
    Solaris C compiler will always output functions defined as "inline", at least
    when not optimizing, even if they're never used.  With recent changes on the
    trunk, k5_call_init_function will cause the support library to be required on
    Solaris by every program that includes k5-platform.h.  This patch should fix
    that.
    
    * k5-platform.h (MAYBE_DEFINE_CALLINIT_FUNCTION) [DELAY_INITIALIZER]: New
    macro.  If not __GNUC__, define k5_call_init_function in the expansion;
    otherwise, do nothing.
    (MAKE_INIT_FUNCTION) [DELAY_INITIALIZER]: Use it.
    (k5_call_init_function): Don't define function form at top level.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17230 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 6, 2005
  1. * profile.swg (errcode_t* tcl8 argout typemap): Cast return value from

    raeburn committed Jun 6, 2005
    error_message to char* to silence Sun compiler warning.
    (errcode_t tcl8 out typemap): Likewise.
    * profile_tcl.c: Regenerated.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17229 dc483132-0cff-0310-8789-dd5450dbe970
  2. Fix gcc preprocessor warnings due to last change.

    raeburn committed Jun 6, 2005
    * configure.in: Put #undef for the PACKAGE_* symbols at the start of
    autoconf.h.  Use a leading comment to hide the #undef from the autoconf
    substitutions.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17228 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Jun 1, 2005
  1. Some autoconf messages want to use the PACKAGE_* values.

    raeburn committed Jun 1, 2005
    * configure.in: Identify package in AC_INIT call.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17227 dc483132-0cff-0310-8789-dd5450dbe970
  2. * trval.c (convert_nibble): Declare the argument with a type.

    raeburn committed Jun 1, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17226 dc483132-0cff-0310-8789-dd5450dbe970
  3. ticket: 3084

    raeburn committed Jun 1, 2005
    status: open
    
    * k5-thread.h (krb5int_pthread_loaded) [HAVE_PRAGMA_WEAK_REF]: Declare.
    (K5_PTHREADS_LOADED) [HAVE_PRAGMA_WEAK_REF]: Use it.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17224 dc483132-0cff-0310-8789-dd5450dbe970
  4. ticket: 3084

    raeburn committed Jun 1, 2005
    status: open
    
    Add run-time determination of whether thread support is available in the
    support library.  Check lots of weak references, and call pthread_once a couple
    of times, to distinguish a broken stub from the real thing.
    
    * threads.c [HAVE_PRAGMA_WEAK_REF]: Declare pthread_{g,s}etspecific,
    pthread_key_{create,delete}, pthread_{create,join} as weak references.
    (krb5int_pthread_loaded, loaded_test_aux) [HAVE_PRAGMA_WEAK_REF]: New
    functions.
    (flag_pthread_loaded, loaded_test_once) [HAVE_PRAGMA_WEAK_REF]: New variables.
    * libkrb5support.exports: Add krb5int_pthread_loaded.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17223 dc483132-0cff-0310-8789-dd5450dbe970
  5. ticket: 3084

    raeburn committed Jun 1, 2005
    status: open
    
    * Makefile.in (test_getpw): Depend on, and link against, the support library.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17222 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 28, 2005
  1. * k5-int.h (encode_krb5_sam_challenge, encode_krb5_sam_key,

    raeburn committed May 28, 2005
    encode_krb5_enc_sam_response_enc, encode_krb5_sam_response,
    decode_krb5_sam_challenge, decode_krb5_enc_sam_response_enc,
    decode_krb5_sam_response, decode_krb5_predicted_sam_response,
    krb5_validate_times): Delete duplicate declarations.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17221 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 24, 2005
  1. Make "make check" able to link things again...

    raeburn committed May 24, 2005
    * keyblocks.c (krb5int_c_free_keyblock): Call krb5int_c_free_keyblock_contents
    instead of krb5_free_keyblock_contents.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17220 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 20, 2005
  1. ticket: new

    hartmans committed May 20, 2005
    Subject: Implement RFC 3961 PRF
    Tags: enhancement
    
    Add krb5_c_prf, a function that implements the RFC 3961 PRF.
    
    
    As part of this change, the krb5_init_keyblock and krb5 free routines
    move to libk5crypto.  Public stubs remain in libkrb5, but the actual
    implementation is an internal interface in libk5crypto
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17219 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 18, 2005
  1. * fake-addrinfo.c (fai_add_hosts_by_name): Pass null pointer instead …

    raeburn committed May 18, 2005
    …of telnet
    
    as service name.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17218 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 13, 2005
  1. * configure.in: Merged content from include/configure.in. Don't confi…

    raeburn committed May 13, 2005
    …gure
    
    include directory any more; build its makefiles and autoconf.h directly.
    Provide comment template when defining C macros.
    * include/configure.in: Deleted, content merged into ../configure.in.
    * include/Makefile.in (thisconfigdir, mydir): Updated for configure change.
    ($(srcdir)/krb5/autoconf.stmp): Use $(thisconfigdir) when locating
    configure.in and autom4te.cache.
    * include/kerberosIV/Makefile.in (thisconfigdir, mydir): Updated for configure
    change.
    * include/krb5/Makefile.in (thisconfigdir, mydir): Updated for configure
    change.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17217 dc483132-0cff-0310-8789-dd5450dbe970
  2. * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Provide comment template when…

    raeburn committed May 13, 2005
    … defining
    
    C macros.
    (KRB5_GETPEERNAME_ARGS): Likewise.
    (KRB5_GETSOCKNAME_ARGS): Likewise.  Only define the macros in one place.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17216 dc483132-0cff-0310-8789-dd5450dbe970
  3. * err_txt.c: Don't include krb_err.c if DEPEND is defined.

    raeburn committed May 13, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17215 dc483132-0cff-0310-8789-dd5450dbe970
  4. make depend

    raeburn committed May 13, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17214 dc483132-0cff-0310-8789-dd5450dbe970
  5. * kerberos_v4.c: Include autoconf.h before testing KRB5_KRB4_COMPAT.

    raeburn committed May 13, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17213 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 4, 2005
  1. ticket: new

    raeburn committed May 4, 2005
    subject: build failure on sparc64-solaris
    
    Mike Friedman at Berkeley reports (on kerberos@mit) that the build
    fails linking the aes-gen program if the tree is configured with
    CC=gcc and CFLAGS=-m64.
    
    * Makefile.in (aes-gen): Use CC_LINK.  Reported by Mike Friedman.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17212 dc483132-0cff-0310-8789-dd5450dbe970
Commits on May 1, 2005
  1. typo fix

    raeburn committed May 1, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17211 dc483132-0cff-0310-8789-dd5450dbe970
  2. * ytypes.h: Include autoconf.h. Include sys/types.h only if it exists.

    raeburn committed May 1, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17210 dc483132-0cff-0310-8789-dd5450dbe970
  3. * shs.c (SHSTransform) [CONFIG_SMALL]: Roll loops for each round.

    raeburn committed May 1, 2005
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17209 dc483132-0cff-0310-8789-dd5450dbe970
Something went wrong with that request. Please try again.