From 52c3571e0bea5fe98c17d4f7766ebd05abc4aca5 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 9 Oct 1990 17:40:34 +0000 Subject: [PATCH] remove krb5_tgs_req_enc_part stuff change as_req & tgs_req encoding to use TGS__REQ remove krb5_real_tgs_req git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1186 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/asn.1/encode.h | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/src/include/krb5/asn.1/encode.h b/src/include/krb5/asn.1/encode.h index 1802becdc..89885c9bf 100644 --- a/src/include/krb5/asn.1/encode.h +++ b/src/include/krb5/asn.1/encode.h @@ -71,12 +71,12 @@ krb5_error_code krb5_decode_generic #define encode_krb5_as_req(req, output) \ krb5_encode_generic((krb5_pointer)req, output, \ (encoder_func) encode_KRB5_AS__REQ, \ - (translator_func) krb5_as_req2KRB5_AS__REQ, \ + (translator_func) krb5_kdc_req2KRB5_TGS__REQ, \ (free_func) free_KRB5_AS__REQ) #define decode_krb5_as_req(req, output) \ krb5_decode_generic(req, (krb5_pointer *) output, \ (decoder_func) decode_KRB5_AS__REQ, \ - (translator_func) KRB5_AS__REQ2krb5_as_req, \ + (translator_func) KRB5_TGS__REQ2krb5_kdc_req, \ (free_func) free_KRB5_AS__REQ) #define encode_krb5_as_rep(req, output) \ @@ -112,17 +112,6 @@ krb5_error_code krb5_decode_generic (translator_func) KRB5_KDC__REP2krb5_tgs_rep, \ (free_func) free_KRB5_KDC__REP) -#define encode_krb5_tgs_req_enc_part(req, output) \ - krb5_encode_generic((krb5_pointer)req, output, \ - (encoder_func) encode_KRB5_KDC__REP, \ - (translator_func) krb5_tgs_req_enc_part2KRB5_EncTgsReqPart, \ - (free_func) free_KRB5_EncTgsReqPart) -#define decode_krb5_tgs_req_enc_part(req, output) \ - krb5_decode_generic(req, (krb5_pointer *) output, \ - (decoder_func) decode_KRB5_EncTgsReqPart, \ - (translator_func) KRB5_EncTgsReqPart2krb5_tgs_req_enc_part, \ - (free_func) free_KRB5_EncTgsReqPart) - #define encode_krb5_ap_req(req, output) \ krb5_encode_generic((krb5_pointer)req, output, \ (encoder_func) encode_KRB5_AP__REQ, \ @@ -159,25 +148,14 @@ krb5_error_code krb5_decode_generic #define encode_krb5_tgs_req(req, output) \ krb5_encode_generic((krb5_pointer)req, output, \ (encoder_func) encode_KRB5_TGS__REQ, \ - (translator_func) krb5_tgs_req2KRB5_TGS__REQ, \ + (translator_func) krb5_kdc_req2KRB5_TGS__REQ, \ (free_func) free_KRB5_TGS__REQ) #define decode_krb5_tgs_req(req, output) \ krb5_decode_generic(req, (krb5_pointer *) output, \ (decoder_func) decode_KRB5_TGS__REQ, \ - (translator_func) KRB5_TGS__REQ2krb5_tgs_req, \ + (translator_func) KRB5_TGS__REQ2krb5_kdc_req, \ (free_func) free_KRB5_TGS__REQ) -#define encode_krb5_real_tgs_req(req, output) \ - krb5_encode_generic((krb5_pointer)req, output, \ - (encoder_func) encode_KRB5_RealTGS__REQ, \ - (translator_func) krb5_real_tgs_req2KRB5_RealTGS__REQ, \ - (free_func) free_KRB5_RealTGS__REQ) -#define decode_krb5_real_tgs_req(req, output) \ - krb5_decode_generic(req, (krb5_pointer *) output, \ - (decoder_func) decode_KRB5_RealTGS__REQ, \ - (translator_func) KRB5_RealTGS__REQ2krb5_real_tgs_req, \ - (free_func) free_KRB5_RealTGS__REQ) - #define encode_krb5_safe(req, output) \ krb5_encode_generic((krb5_pointer)req, output, \ (encoder_func) encode_KRB5_KRB__SAFE, \ -- 2.26.2