mirror of
https://github.com/openkmip/pykmip
synced 2025-12-30 07:03:29 +00:00
This change fixes a bug in the KMIPProxy client's support for the Rekey operation. Specifically, if the operation fails and does not return a payload, the client will still try to reference the payload object when checking for TemplateAttribute data. This causes an AttributeError since the payload is None. This change fixes this and adds a unit test that covers this specific case. Fixes #474