[16601] in Kerberos_V5_Development
Re: an issue relating to using current MIT krb code in kernel space
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jan 20 23:34:56 2011
From: Greg Hudson <ghudson@mit.edu>
To: Will Fiveash <will.fiveash@oracle.com>
In-Reply-To: <20110120213235.GA2602@sun.com>
Date: Thu, 20 Jan 2011 23:34:51 -0500
Message-ID: <1295584491.2456.525.camel@ray>
Mime-Version: 1.0
Cc: MIT Kerberos Dev List <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
On Thu, 2011-01-20 at 16:32 -0500, Will Fiveash wrote:
> so I either have to add it
> back for Solaris or dynamically calculate the number of krb5_enctype
> entries there are in context->in_tkt_ktypes before I call
> FREE()/kmem_free().
Is dynamically calculating the length a problem? We have a short
function krb5int_count_etypes (in lib/krb5/krb/etype_list.c) to conduct
this count, and the runtime overhead should be minimal since enctype
lists are pretty short.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev