summaryrefslogtreecommitdiffstats
path: root/engines/e_capi.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-12-19 10:54:47 +0000
committerAndy Polyakov <appro@openssl.org>2012-12-19 10:54:47 +0000
commit2c0093d294879f0763f3927e4c14ffe1eea7b833 (patch)
tree90a209d4454bab1991a7df607754f88637b24157 /engines/e_capi.c
parent947e129219413bb4ce622acff134be8b87f0ed3e (diff)
engines/e_capi.c: fix typo.
Submitted by: Pierre Delaage
Diffstat (limited to 'engines/e_capi.c')
-rw-r--r--engines/e_capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_capi.c b/engines/e_capi.c
index fff8e6a14f..a3456a330c 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -1478,7 +1478,7 @@ static CAPI_KEY *capi_get_key(CAPI_CTX *ctx, const TCHAR *contname, TCHAR *provn
}
if(ctx->store_flags & CERT_SYSTEM_STORE_LOCAL_MACHINE)
dwFlags = CRYPT_MACHINE_KEYSET;
- if (!CryptAcquireContext(&key->hprov, contname, provname, ptype, dwflags))
+ if (!CryptAcquireContext(&key->hprov, contname, provname, ptype, dwFlags))
{
CAPIerr(CAPI_F_CAPI_GET_KEY, CAPI_R_CRYPTACQUIRECONTEXT_ERROR);
capi_addlasterror();