apple / ccs-pykerberos

Python Kerberos library used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
117 stars 65 forks source link

Use destructors to free client and server state #61

Closed behackett closed 6 years ago

behackett commented 7 years ago

This change obsoletes the functions authGSSClientClean and authGSSServerClean. The client and server state are now destroyed when the PyCapsule / PyCObject storing them are reclaimed. The functions remain to avoid breaking backward compatibility, but just return AUTH_GSS_COMPLETE.

Resolves #48.

By submitting a request, you represent that you have the right to license your contribution to Apple and the community, and agree that your contributions are licensed under the Apache License Version 2.0.

For existing files modified by your request, you represent that you have retained any existing copyright notices and licensing terms. For each new file in your request, you represent that you have added to the file a copyright notice (including the year and the copyright owner's name) and the Calendar and Contacts Server's licensing terms.

Before submitting the request, please make sure that your request follows the Calendar and Contacts Server's guidelines for contributing code.

jborean93 commented 7 years ago

Have checked this locally and can confirm every is good.

behackett commented 7 years ago

@dreness - this one resolves #48