From 5e0b8a125fa306dc1434f9618212694da99491c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 19 Jun 2007 14:08:36 +0000 Subject: [PATCH] Added peap-server for to make windows peap clients happy. k git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21175 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 1df9f6fbd..f445a880f 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -1363,6 +1363,11 @@ eval_types(hx509_context context, oid_id_pkix_kp_clientAuth()); if (ret) hx509_err(context, 1, ret, "hx509_ca_tbs_add_eku"); + } else if strcmp(type, "peap-server") == 0) { + ret = hx509_ca_tbs_add_eku(context, tbs, + oid_id_pkix_kp_serverAuth()); + if (ret) + hx509_err(context, 1, ret, "hx509_ca_tbs_add_eku"); } else if (strcmp(type, "pkinit-kdc") == 0) { pkinit++; ret = hx509_ca_tbs_add_eku(context, tbs,