From fe95b0a1a3dad49db506f4843f2b4bd6bb65c00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 25 Jul 2005 11:47:05 +0000 Subject: [PATCH] (cms_create_sd): add KU digitalSigature as a requirement to the query git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15730 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 07f204045..e55e33307 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -147,6 +147,7 @@ cms_create_sd(int argc, char **argv) _hx509_query_clear(&q); q.match |= HX509_QUERY_PRIVATE_KEY; + q.match |= HX509_QUERY_KU_DIGITALSIGNATURE; ret = _hx509_certs_find(s, &q, &cert); if (ret)