From: Theodore Tso Date: Thu, 29 Jul 1993 04:33:35 +0000 (+0000) Subject: element_KRB5_12 really should be element_KRB5_15; brain-damanaged X-Git-Tag: krb5-1.0-beta3~213 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5c17970f2ccedfae78e73904cb7fff3bd80eeb3;p=krb5.git element_KRB5_12 really should be element_KRB5_15; brain-damanaged MIPS cc didn't notice this!?! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2625 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/kpwds2pwds.c b/src/lib/krb5/asn.1/kpwds2pwds.c index 54be0b261..038de3201 100644 --- a/src/lib/krb5/asn.1/kpwds2pwds.c +++ b/src/lib/krb5/asn.1/kpwds2pwds.c @@ -43,9 +43,9 @@ * struct type_KRB5_PasswdData { * integer passwd__sequence__count; * /* SEQUENCE OF */ - * struct element_KRB5_12 { + * struct element_KRB5_15 { * struct type_KRB5_PasswdSequence *PasswdSequence; - * struct element_KRB5_12 *next; + * struct element_KRB5_15 *next; * } *passwd__sequence; * }; * @@ -76,7 +76,7 @@ register const krb5_pwd_data *val; register int *error; { register struct type_KRB5_PasswdData *retval = 0; - register struct element_KRB5_12 *passwdseq = 0, *rv1 = 0, *rv2; + register struct element_KRB5_15 *passwdseq = 0, *rv1 = 0, *rv2; passwd_phrase_element **temp; register int i; @@ -93,7 +93,7 @@ register int *error; for ( i = 0, temp = (passwd_phrase_element **) val->element; *temp; temp++, i++, rv1 = rv2){ - if ((rv2 = (struct element_KRB5_12 *) xcalloc(1, + if ((rv2 = (struct element_KRB5_15 *) xcalloc(1, sizeof(*rv2))) == NULL) {; *error = ENOMEM; errout: diff --git a/src/lib/krb5/asn.1/pwds2kpwds.c b/src/lib/krb5/asn.1/pwds2kpwds.c index 0a1b4bf36..f9b11c8ef 100644 --- a/src/lib/krb5/asn.1/pwds2kpwds.c +++ b/src/lib/krb5/asn.1/pwds2kpwds.c @@ -46,7 +46,7 @@ register int *error; { register krb5_pwd_data *retval; register passwd_phrase_element **element; - register struct element_KRB5_12 *seq_ptr, *rv; + register struct element_KRB5_15 *seq_ptr, *rv; register int i;