Re: Any objection to implementing krb5_get_creds() in terms of krb5_get_credentials_with_flags()?
Nico Williams <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.heimdal.general |
|---|---|
| Message-ID | <CAK3OfOirisZGOKA5SU+k10q2iJWhGcRW8rC7qAXsvijygDTdeQ@mail.gmail.com> |
On Fri, Oct 14, 2011 at 4:58 PM, Nico Williams <[email protected]> wrote: > It seems that they both work almost exactly the same way, and that > krb5_get_creds() could be implemented trivially in terms of > krb5_get_credentials_with_flags(), thus reducing code duplication. Ah, never mind -- neither can be implemented in terms of the other. Well, perhaps krb5_get_credentials_with_flags() could be implemented in terms of krb5_get_creds(), but, it sounds messy, having to track down every possible in_creds variation that needs a get_creds opt. Nico --