Relation between krb5_creds and krb5_context

2019-07-16 Thread Philipp Gesang
Hi, what is the significance of the krb5_context that krb5_free_creds() takes as its first argument? As far as I can see none of the functions down the call graph do anything with it nor is the context stored in krb5_creds and its members. Nevertheless, the API expects non-const pointer to be pass

Re: Relation between krb5_creds and krb5_context

2019-07-16 Thread Greg Hudson
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 para

Re: Relation between krb5_creds and krb5_context

2019-07-16 Thread Philipp Gesang
Hi Greg, -<| Quoting Greg Hudson , on Tuesday, 2019-07-16 12:26:48 PM |>- > 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