(tgs_rep2): make sure we also have an defined `client' to return as

part of the KRB-ERROR


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2631 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-25 15:34:18 +00:00
parent 30b3c52a8c
commit 086e08d76c

View File

@@ -829,6 +829,7 @@ tgs_rep2(krb5_context context,
hdb_entry *krbtgt;
EncTicketPart *tgt;
Key *ekey;
krb5_principal cp = NULL;
ret = krb5_decode_ap_req(context, &pa_data->padata_value, &ap_req);
if(ret){
@@ -891,7 +892,6 @@ tgs_rep2(krb5_context context,
{
PrincipalName *s;
Realm r;
krb5_principal cp;
char *spn, *cpn;
hdb_entry *server, *client;