diff options
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/pac-glue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index d654dc32ca..cca74d850a 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -482,7 +482,11 @@ int kdc_check_pac(krb5_context context, } } +#if HDB_ENCTYPE2KEY_TAKES_KEYSET + ret = hdb_enctype2key(context, &ent->entry, NULL, etype, &key); +#else ret = hdb_enctype2key(context, &ent->entry, etype, &key); +#endif if (ret != 0) { return ret; |