[OpenAFS] Re: build error when linking with heimdal-dev (Re: [OpenAFS] bosserver -noauth& changes cell to localcell)

Benjamin Kaduk kaduk@mit.edu
Thu, 13 Apr 2017 21:18:51 -0500

On Thu, Apr 13, 2017 at 04:38:25PM -0400, Jeffrey Altman wrote:
> That is an incorrect fix. -lasn1 should neither be added for aklog nor
> libauth.
> akimpersonate_v5gen.c is wrong in the Heimdal case.  It is making direct
> usage of Heimdal ASN1 macros when it should be following the model used
> for rxkad.  I'm not entirely sure why akimpersonate has its own v5gen
> source files.

It was added in the security release as part of rxkad-k5 support,
but my recollection of exactly how it ended up the way it did is
rather faded.  It looks like we couldn't use all of the rxkad v5gen
bits as-is and needed to add some new bits.  That code is not used
at all on master, of course.