提交 ffc2b3e9 编写于 作者: D Dr. Stephen Henson

Update from stable branch.

上级 9ab89286
...@@ -1632,6 +1632,8 @@ static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs) ...@@ -1632,6 +1632,8 @@ static int client_cert_select(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs)
CAPI_KEY *key; CAPI_KEY *key;
HWND hwnd; HWND hwnd;
int i, idx = -1; int i, idx = -1;
if (sk_X509_num(certs) == 1)
return 0;
ctx = ENGINE_get_ex_data(e, capi_idx); ctx = ENGINE_get_ex_data(e, capi_idx);
/* Create an in memory store of certificates */ /* Create an in memory store of certificates */
dstore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0, dstore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册