use _krb5_pk_enterprise_cert

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24617 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-04 22:10:41 +00:00
parent 62a968de1b
commit be5c7fd7b0

View File

@@ -33,7 +33,13 @@
#include "kuser_locl.h" #include "kuser_locl.h"
#ifndef HEIMDAL_SMALLER
#include "krb5-v4compat.h" #include "krb5-v4compat.h"
#endif
struct krb5_dh_moduli;
struct AlgorithmIdentifier;
#include <krb5-private.h>
#ifndef NO_NTLM #ifndef NO_NTLM
#include "heimntlm.h" #include "heimntlm.h"
@@ -781,9 +787,8 @@ main (int argc, char **argv)
parseflags |= KRB5_PRINCIPAL_PARSE_ENTERPRISE; parseflags |= KRB5_PRINCIPAL_PARSE_ENTERPRISE;
if (pk_enterprise_flag) { if (pk_enterprise_flag) {
ret = _krb5_pk_enterprise_cert(context, pk_user_id,
ret = krb5_pk_enterprise_cert(context, pk_user_id, argv[0], &principal);
argv[0], &principal);
if (ret) if (ret)
krb5_err(context, 1, ret, "krb5_pk_enterprise_certs"); krb5_err(context, 1, ret, "krb5_pk_enterprise_certs");