summaryrefslogtreecommitdiff
path: root/h
diff options
context:
space:
mode:
authorGravatar David Benjamin <davidben@mit.edu>2013-04-18 19:45:17 -0400
committerGravatar Karl Ramm <kcr@1ts.org>2013-09-28 14:20:40 -0400
commit50d60c3dc739be77574cbf80bc24d7fbd2ff41be (patch)
treee67dcf6c8ba076e97107a8076b19b72192aa5ce8 /h
parent241ec6e5c75b6872a32c5e05c17ebb4238e120e0 (diff)
Add internal Z_MakeZcodeAuthentication function
Explicitly takes a krb5_creds as input.
Diffstat (limited to 'h')
-rw-r--r--h/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/h/internal.h b/h/internal.h
index 93d76ab..f87c8a2 100644
--- a/h/internal.h
+++ b/h/internal.h
@@ -144,6 +144,10 @@ Code_t Z_ExtractEncCksum(krb5_keyblock *keyblock, krb5_enctype *enctype,
int Z_krb5_verify_cksum(krb5_keyblock *keyblock, krb5_data *cksumbuf,
krb5_cksumtype cksumtype, krb5_keyusage cksumusage,
unsigned char *asn1_data, int asn1_len);
+Code_t Z_MakeZcodeAuthentication(register ZNotice_t *notice,
+ char *buffer, int buffer_len,
+ int *phdr_len,
+ krb5_creds *creds);
Code_t Z_InsertZcodeChecksum(krb5_keyblock *keyblock, ZNotice_t *notice,
char *buffer,
char *cksum_start, int cksum_len,