From a39e81f1898434cbf34b48b87492802648f04dd0 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 17 Jan 1990 14:05:59 +0000 Subject: [PATCH] change names of free routines to begin with krb5_ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@101 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/asn1glue.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/asn.1/asn1glue.h b/src/lib/krb5/asn.1/asn1glue.h index 8e433b458..af187e44e 100644 --- a/src/lib/krb5/asn.1/asn1glue.h +++ b/src/lib/krb5/asn.1/asn1glue.h @@ -16,18 +16,18 @@ #ifndef __KRB5_GLUE_H__ #define __KRB5_GLUE_H__ -#define krb5_string2qbuf(val) str2qb((val)->string, (val)->length, 1) +#define krb5_data2qbuf(val) str2qb((val)->data, (val)->length, 1) #define krb5_kdcoptions2KRB5_KDCOptions(val, err) (struct type_KRB5_KDCOptions *)krb5_flags2KRB5_TicketFlags(val, err) #define KRB5_KDCOptions2krb5_kdcoptions(val, err) KRB5_TicketFlags2krb5_flags((struct type_KRB5_TicketFlags *) (val), err) #define krb5_apoptions2KRB5_APOptions(val, err) (struct type_KRB5_APOptions *)krb5_flags2KRB5_TicketFlags(val, err) #define KRB5_APOptions2krb5_apoptions(val, err) KRB5_TicketFlags2krb5_flags((struct type_KRB5_APOptions *) (val), err) -#define free_krb5_string(val) { xfree((val)->string); xfree(val);} +#define krb5_free_data(val) { xfree((val)->data); xfree(val);} -#define free_krb5_ap_rep_enc_part xfree -#define free_krb5_checksum xfree -#define free_krb5_keyblock xfree +#define krb5_free_ap_rep_enc_part xfree +#define krb5_free_checksum xfree +#define krb5_free_keyblock xfree /* to keep lint happy */ #define xfree(val) free((char *)(val)) -- 2.26.2