diff options
author | Matt Rogers <mrogers@redhat.com> | 2016-05-12 20:14:01 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2016-06-17 13:44:37 -0400 |
commit | f4f619e7905d762204695dd66450e586c183c9fd (patch) | |
tree | e89ecd39c6cb9ded1b95560387f01a334de2c31b /src/include/krb5 | |
parent | 3563485fdb54024bd79a4491000c84943cc20ab9 (diff) | |
download | krb5-f4f619e7905d762204695dd66450e586c183c9fd.zip krb5-f4f619e7905d762204695dd66450e586c183c9fd.tar.gz krb5-f4f619e7905d762204695dd66450e586c183c9fd.tar.bz2 |
Add CAMMAC handling to the authdata framework
Handle CAMMAC contained authdata similarly to KDC-issued authdata, where
it is verified before passing to the import function.
[ghudson@mit.edu: fix memory leak and reduce copying in
extract_cammac()]
ticket: 8425
Diffstat (limited to 'src/include/krb5')
-rw-r--r-- | src/include/krb5/authdata_plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/krb5/authdata_plugin.h b/src/include/krb5/authdata_plugin.h index 3399eea..5bb95fa 100644 --- a/src/include/krb5/authdata_plugin.h +++ b/src/include/krb5/authdata_plugin.h @@ -55,8 +55,9 @@ typedef krb5_error_code #define AD_USAGE_TGS_REQ 0x02 #define AD_USAGE_AP_REQ 0x04 #define AD_USAGE_KDC_ISSUED 0x08 -#define AD_USAGE_MASK 0x0F #define AD_INFORMATIONAL 0x10 +#define AD_CAMMAC_PROTECTED 0x20 +#define AD_USAGE_MASK 0x2F struct _krb5_authdata_context; |