summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kdb/ipa_kdb_mspac.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2012-02-13 16:57:57 -0500
committerSimo Sorce <ssorce@redhat.com>2012-02-16 14:45:23 -0500
commitd5e4bd5c5900204fea9603807c64be2a959c2319 (patch)
tree63ef059b5b4c97d5bc7e2a9315c7fbbab30196df /daemons/ipa-kdb/ipa_kdb_mspac.c
parent65f40aeb8d147e30f50d128ffc290169937b6d50 (diff)
downloadfreeipa-d5e4bd5c5900204fea9603807c64be2a959c2319.tar.gz
freeipa-d5e4bd5c5900204fea9603807c64be2a959c2319.tar.xz
freeipa-d5e4bd5c5900204fea9603807c64be2a959c2319.zip
Remove compat defines
These definitions were needed during development to be a le to build against krb5 version < 1.10 These function headers and defintions are now available in 1.10 that is a hard dependency for freeipa 3.0, so we can safely drop them.
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb_mspac.c')
-rw-r--r--daemons/ipa-kdb/ipa_kdb_mspac.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb_mspac.c b/daemons/ipa-kdb/ipa_kdb_mspac.c
index 654f0cb21..7f2e58666 100644
--- a/daemons/ipa-kdb/ipa_kdb_mspac.c
+++ b/daemons/ipa-kdb/ipa_kdb_mspac.c
@@ -25,38 +25,6 @@
#include "util/time.h"
#include "gen_ndr/ndr_krb5pac.h"
-#define KRB5INT_PAC_SIGN_AVAILABLE 1
-#define KRB5INT_FIND_AUTHDATA_AVAILABLE 1
-
-#if KRB5INT_PAC_SIGN_AVAILABLE
-krb5_error_code
-krb5int_pac_sign(krb5_context context,
- krb5_pac pac,
- krb5_timestamp authtime,
- krb5_const_principal principal,
- const krb5_keyblock *server_key,
- const krb5_keyblock *privsvr_key,
- krb5_data *data);
-#define krb5_pac_sign krb5int_pac_sign
-#define KRB5_PAC_LOGON_INFO 1
-#endif
-
-#if KRB5INT_FIND_AUTHDATA_AVAILABLE
-krb5_error_code
-krb5int_find_authdata(krb5_context context,
- krb5_authdata *const *ticket_authdata,
- krb5_authdata *const *ap_req_authdata,
- krb5_authdatatype ad_type, krb5_authdata ***results);
-#define krb5_find_authdata krb5int_find_authdata
-#endif
-
-#ifndef KRB5_PAC_SERVER_CHECKSUM
-#define KRB5_PAC_SERVER_CHECKSUM 6
-#endif
-#ifndef KRB5_PAC_PRIVSVR_CHECKSUM
-#define KRB5_PAC_PRIVSVR_CHECKSUM 7
-#endif
-
static char *user_pac_attrs[] = {
"objectClass",
"uid",