Fix aklog warnings when building with Heimdal
authorRuss Allbery <rra@stanford.edu>
Fri, 4 Jun 2010 02:50:14 +0000 (19:50 -0700)
committerDerrick Brashear <shadow@dementia.org>
Wed, 16 Jun 2010 01:09:32 +0000 (18:09 -0700)
commit6dc50767f88795858783fe9dbbdf90901f1fd684
treeccf392e4ca6f4d654d9db5adc73291c4b21795f1
parent9784847fedee9540a210f272e3c38862ba1903ea
Fix aklog warnings when building with Heimdal

Fix various warnings in the aklog and klog code when building with
Heimdal.  Use krb5_get_init_creds_opt_alloc if it's available rather
than allocating the struct off the stack, since the _opt_init
function is deprecated.

Change-Id: Ieff986121de9078e9402b0a51a8855655330caba
Reviewed-on: http://gerrit.openafs.org/2082
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
configure.in
src/aklog/aklog.c
src/aklog/klog.c