Replace contents with keyvalue. Prepare for use of asn1-types.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1890 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-06-10 14:25:15 +00:00
parent b03ed317ba
commit de43cd185b
11 changed files with 342 additions and 75 deletions

View File

@@ -17,7 +17,11 @@ krb5_mk_error(krb5_principal princ,
msg.msg_type = krb_error;
msg.stime = time(0);
msg.error_code = error_code;
#ifdef USE_ASN1_PRINCIPAL
msg.realm = princ->realm;
#else
msg.realm = princ->realm.data;
#endif
krb5_principal2principalname(&msg.sname, princ);
if (e_text)
msg.e_text = &e_text;