Replace hx509_name_to_der_name with hx509_name_binary.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22433 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -212,8 +212,7 @@ cert2epi(hx509_context context, void *ctx, hx509_cert c)
|
|||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = hx509_name_to_der_name(subject, &id.subjectName->data,
|
ret = hx509_name_binary(subject, id.subjectName);
|
||||||
&id.subjectName->length);
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
hx509_name_free(&subject);
|
hx509_name_free(&subject);
|
||||||
free_ExternalPrincipalIdentifier(&id);
|
free_ExternalPrincipalIdentifier(&id);
|
||||||
|
Reference in New Issue
Block a user