From: John Kohl Date: Wed, 27 Dec 1989 17:54:13 +0000 (+0000) Subject: fix #define aliases X-Git-Tag: krb5-1.0-alpha2~1319 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3327f9709059ec82affd99787f01b5099dc14986;p=krb5.git fix #define aliases git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@54 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/asn1glue.h b/src/lib/krb5/asn.1/asn1glue.h index 3d52236c2..c56dadbbc 100644 --- a/src/lib/krb5/asn.1/asn1glue.h +++ b/src/lib/krb5/asn.1/asn1glue.h @@ -16,6 +16,9 @@ #ifndef __KRB5_GLUE_H__ #define __KRB5_GLUE_H__ -#define krb5_string2qbuf(val) str2qb(val->string, val->length, 1) +#define krb5_string2qbuf(val) str2qb((val)->string, (val)->length, 1) + +#define kdcoptions2KRB5_KDCOptions(val) (struct type_KRB5_KDCOptions *)flags2KRB5_TicketFlags(val) +#define KRB5_KDCOptions2kdcoptions(val) KRB5_TicketFlags2flags((struct type_KRB5_TicketFlags *) val) #endif /* __KRB5_GLUE_H__ */