pull up r18228:18229 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 26 Jun 2006 23:36:27 +0000 (23:36 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 26 Jun 2006 23:36:27 +0000 (23:36 +0000)
commit66481bd708f1ec5c5bb394b4412627e806cd799d
tree34c59b2730bc21463cf494955069c1a2c3e5ea0c
parentb8636eb1a555db2ded2ca6986dc1467a991ed353
pull up r18228:18229 from trunk

 r18228@cathode-dark-space:  tlyu | 2006-06-26 17:03:04 -0400
 ticket: 2856
 tags: pullup

  * src/include/krb5/krb5.hin: Add prototype for krb5_copy_context.

  * src/lib/krb5/krb/init_ctx.c (krb5_copy_context): New function to
  copy/clone an existing krb5 context.
  (copy_ktypes): Local helper function.

 r18229@cathode-dark-space:  tlyu | 2006-06-26 18:04:51 -0400
 ticket: 2856

  * src/lib/krb5_32.def: Export krb5_copy_context.

  * src/lib/krb5/libkrb5.exports: Export krb5_copy_context.

  * src/lib/krb5/krb/init_ctx.c (krb5_copy_context): Fix malloc
  argument for nctx.  Handle null default_ccname case.

ticket: 2856
version_fixed: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18232 dc483132-0cff-0310-8789-dd5450dbe970
src/include/krb5/krb5.hin
src/lib/krb5/krb/init_ctx.c
src/lib/krb5/libkrb5.exports
src/lib/krb5_32.def