krb5_kt_have_content

Simo Sorce simo at redhat.com
Sat Jun 2 16:52:49 EDT 2012


On Sat, 2012-06-02 at 13:16 -0400, Greg Hudson wrote:
> Of course, having sent that out, I just noticed another issue.  The
> Heimdal API signature for krb5_kt_have_content() returns krb5_boolean,
> but the actual return value is a krb5_error_code (0 or KRB5_KT_NOTFOUND).
> 
> I think the best choice here is to return krb5_error_code, which is
> normally the same type (int) as krb5_boolean, and maybe suggest that
> Heimdal correct its API since it should be ABI-compatible to do so.

Sounds reasonable.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York



More information about the krbdev mailing list