Subject: | [PATCH] init_context() should return Context object |
Date: | Sun, 24 Jan 2010 18:40:19 +0900 |
To: | bug-Krb5 [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 43-1.org> |
Hi,
the documentation for Authen::Krb5::init_context() says that the
function is supposed to return a Authen::Krb5::Context object or undef
in case of error, but it does return XSRETURN_YES.
The attached patch changes this to the documented behavior and also
makes it save to call init_context() several times (in case one needs
access to the context object at a later time).
The patch is needed to adapt Authen::Krb5::Admin to MIT Kerberos 1.8 as
the kadm5_* functions started to expect a krb5_context object. Please
consider applying it in the next release.
Regards,
Ansgar
Message body is not shown because sender requested not to inline it.