From dc2db778987be21171f6419af7d231174e6d7d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 13 Jan 2008 14:11:46 +0000 Subject: [PATCH] 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 --- lib/krb5/pkinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/krb5/pkinit.c b/lib/krb5/pkinit.c index 88e21b1ae..1c8621fd4 100644 --- a/lib/krb5/pkinit.c +++ b/lib/krb5/pkinit.c @@ -212,8 +212,7 @@ cert2epi(hx509_context context, void *ctx, hx509_cert c) return ENOMEM; } - ret = hx509_name_to_der_name(subject, &id.subjectName->data, - &id.subjectName->length); + ret = hx509_name_binary(subject, id.subjectName); if (ret) { hx509_name_free(&subject); free_ExternalPrincipalIdentifier(&id);