diff options
author | Luke Howard <lukeh@padl.com> | 2008-11-19 07:13:09 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2008-11-19 07:13:09 +0000 |
commit | b74ea153c365968cebe368069541e9052fa6ca16 (patch) | |
tree | 254f81572e3bfdb19ca53094c514e769054f0609 | |
parent | 5fa6cfdcab87bd788f1bcc9fdcd15835173fbfa9 (diff) | |
download | krb5-b74ea153c365968cebe368069541e9052fa6ca16.zip krb5-b74ea153c365968cebe368069541e9052fa6ca16.tar.gz krb5-b74ea153c365968cebe368069541e9052fa6ca16.tar.bz2 |
add krb5int_pac_sign()
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ@21150 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/include/k5-int.h | 10 | ||||
-rw-r--r-- | src/lib/krb5/krb/pac.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index a9271d6..c06b6b4 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2646,4 +2646,14 @@ static inline int authdata_eq (krb5_authdata a1, krb5_authdata a2) && a1.length == a2.length && !memcmp(a1.contents, a2.contents, a1.length)); } + +krb5_error_code KRB5_CALLCONV +krb5int_pac_sign(krb5_context context, + krb5_pac pac, + time_t authtime, + krb5_const_principal principal, + const krb5_keyblock *server_key, + const krb5_keyblock *privsvr_key, + krb5_data *data); + #endif /* _KRB5_INT_H */ diff --git a/src/lib/krb5/krb/pac.c b/src/lib/krb5/krb/pac.c index 81b710d..7d9ba7e 100644 --- a/src/lib/krb5/krb/pac.c +++ b/src/lib/krb5/krb/pac.c @@ -768,7 +768,7 @@ k5_pac_encode_header(krb5_context context, krb5_pac pac) return 0; } -krb5_error_code +krb5_error_code KRB5_CALLCONV krb5int_pac_sign(krb5_context context, krb5_pac pac, time_t authtime, |