(_kdc_pk_check_client): Use hx509_cert_get_base_subject to get subject

name of the certificate, needed for proxy certificates.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17285 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-04-26 18:36:22 +00:00
parent c7b6f93485
commit d7bc1efbc8

View File

@@ -1128,7 +1128,9 @@ _kdc_pk_check_client(krb5_context context,
return 0;
}
ret = hx509_cert_get_subject(client_params->cert, &name);
ret = hx509_cert_get_base_subject(kdc_identity->hx509ctx,
client_params->cert,
&name);
if (ret)
return ret;