Remove non ASN.1 principal code.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2354 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-07-16 01:37:19 +00:00
parent 7fbd8baf8d
commit 884b9012ab
15 changed files with 0 additions and 328 deletions

View File

@@ -9,11 +9,7 @@ hdb_principal2key(krb5_context context, krb5_principal p, krb5_data *key)
krb5_principal new;
krb5_copy_principal(context, p, &new);
#ifdef USE_ASN1_PRINCIPAL
new->name.name_type = 0;
#else
new->type = 0;
#endif
sp = krb5_storage_emem();
krb5_store_principal(sp, new);
krb5_storage_to_data(sp, key);