Relation between krb5_creds and krb5_context

Greg Hudson ghudson at mit.edu
Tue Jul 16 12:26:48 EDT 2019


On 7/16/19 10:23 AM, Philipp Gesang wrote:
> what is the significance of the krb5_context that
> krb5_free_creds() takes as its first argument?

In the beginning there was a design principle that every libkrb5 API
would take a context parameter (though there are a few exceptions).  The
context parameter for krb5_free functions is unused and is likely to
remain unused.  I have considered making a pass through the API and
documenting that the context parameter is optional for a bunch of
functions, including krb5_free functions.


More information about the Kerberos mailing list