krb5: make krb5_pac a heim_object_t

Make krb5_pac a heim_object_t and use heim_retain() (i.e. reference count +1)
as the copy constructor for the type decoration.

Note: this assumes that PACs included in naming attributes are immutable.
This commit is contained in:
Luke Howard
2022-01-08 17:35:53 +11:00
parent 5a952ee7b5
commit 867457871a
7 changed files with 51 additions and 77 deletions

View File

@@ -35,7 +35,8 @@
*/
#include "krb5_locl.h"
#include "../base/heimbasepriv.h" /* XXX */
#include <heimbasepriv.h>
struct pa_info_data {
krb5_enctype etype;