diff options
-rw-r--r-- | src/lib/krb5/asn.1/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/krb5/asn.1/asn1_k_decode.h | 14 | ||||
-rw-r--r-- | src/lib/krb5/asn.1/asn1_k_encode.h | 23 |
3 files changed, 40 insertions, 3 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index 0a14cb109..377351ad1 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 12 14:25:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * asn1_k_encode.h, asn1_k_decode.h: Add prototypes for the SAM + encoding and decoding functions, which are necessary for + the Win32 port (and a good idea in general). + Wed Jun 5 15:37:50 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> * asn1_k_decode.c (asn1_decode_enc_kdc_rep_part): If starttime is diff --git a/src/lib/krb5/asn.1/asn1_k_decode.h b/src/lib/krb5/asn.1/asn1_k_decode.h index 9490619c0..489123b6f 100644 --- a/src/lib/krb5/asn.1/asn1_k_decode.h +++ b/src/lib/krb5/asn.1/asn1_k_decode.h @@ -88,6 +88,8 @@ asn1_error_code asn1_decode_ui_4 PROTOTYPE((asn1buf *buf, krb5_ui_4 *val)); asn1_error_code asn1_decode_kerberos_time PROTOTYPE((asn1buf *buf, krb5_timestamp *val)); +asn1_error_code asn1_decode_sam_flags + PROTOTYPE((asn1buf *buf, krb5_flags *val)); /* structures */ asn1_error_code asn1_decode_realm @@ -132,12 +134,20 @@ asn1_error_code asn1_decode_krb_cred_info PROTOTYPE((asn1buf *buf, krb5_cred_info *val)); asn1_error_code asn1_decode_pa_data PROTOTYPE((asn1buf *buf, krb5_pa_data *val)); - asn1_error_code asn1_decode_passwdsequence PROTOTYPE((asn1buf *buf, passwd_phrase_element *val)); - asn1_error_code asn1_decode_etype_info_entry PROTOTYPE((asn1buf *buf, krb5_etype_info_entry *val)); +asn1_error_code asn1_decode_sam_challenge + PROTOTYPE((asn1buf *buf, krb5_sam_challenge *val)); +asn1_error_code asn1_decode_enc_sam_key + PROTOTYPE((asn1buf *buf, krb5_sam_key *val)); +asn1_error_code asn1_decode_enc_sam_response_enc + PROTOTYPE((asn1buf *buf, krb5_enc_sam_response_enc *val)); +asn1_error_code asn1_decode_sam_response + PROTOTYPE((asn1buf *buf, krb5_sam_response *val)); +asn1_error_code asn1_decode_predicted_sam_response + PROTOTYPE((asn1buf *buf, krb5_predicted_sam_response *val)); /* arrays */ asn1_error_code asn1_decode_authorization_data diff --git a/src/lib/krb5/asn.1/asn1_k_encode.h b/src/lib/krb5/asn.1/asn1_k_encode.h index 6add4dad4..920d93ded 100644 --- a/src/lib/krb5/asn.1/asn1_k_encode.h +++ b/src/lib/krb5/asn.1/asn1_k_encode.h @@ -222,6 +222,27 @@ asn1_error_code asn1_encode_passwdsequence PROTOTYPE((asn1buf *buf, const passwd_phrase_element *val, int *retlen)); asn1_error_code asn1_encode_sequence_of_passwdsequence - PROTOTYPE((asn1buf *buf, const passwd_phrase_element **val, int *retlen)); + PROTOTYPE((asn1buf *buf, const passwd_phrase_element **val, + int *retlen)); + +asn1_error_code asn1_encode_sam_flags + PROTOTYPE((asn1buf * buf, const krb5_flags val, int *retlen)); + +asn1_error_code asn1_encode_sam_challenge + PROTOTYPE((asn1buf *buf, const krb5_sam_challenge * val, int *retlen)); + +asn1_error_code asn1_encode_sam_key + PROTOTYPE((asn1buf *buf, const krb5_sam_key *val, int *retlen)); + +asn1_error_code asn1_encode_enc_sam_response_enc + PROTOTYPE((asn1buf *buf, const krb5_enc_sam_response_enc *val, + int *retlen)); + +asn1_error_code asn1_encode_sam_response + PROTOTYPE((asn1buf *buf, const krb5_sam_response *val, int *retlen)); + +asn1_error_code asn1_encode_predicted_sam_response + PROTOTYPE((asn1buf *buf, const krb5_predicted_sam_response *val, + int *retlen)); #endif |