summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-06-04 23:00:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-06-04 23:00:59 +0000
commitdfbf646ac4680d6ef3602b22563a6a17b8760a16 (patch)
treeafcda55553f0e8fd181dc656d9df4fed4cfc34f4 /engines
parent591371566ec012fef6ec8797c540903bf4b4dd3d (diff)
Remove some unneeded columns from dialog.
Diffstat (limited to 'engines')
-rw-r--r--engines/e_capi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/e_capi.c b/engines/e_capi.c
index ec8dab0f07..be01278ad4 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -1620,6 +1620,8 @@ static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs)
#define dlg_title L"OpenSSL Application SSL Client Certificate Selection"
#define dlg_prompt L"Select a certificate to use for authentication"
+#define dlg_columns CRYPTUI_SELECT_LOCATION_COLUMN \
+ |CRYPTUI_SELECT_INTENDEDUSE_COLUMN
static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs)
{
@@ -1661,7 +1663,7 @@ static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs)
/* Call dialog to select one */
cert = CryptUIDlgSelectCertificateFromStore(dstore, hwnd,
dlg_title, dlg_prompt,
- 0, 0, NULL);
+ dlg_columns, 0, NULL);
/* Find matching cert from list */
if (cert)