From: Andy Polyakov Date: Wed, 19 Dec 2012 10:54:47 +0000 (+0000) Subject: engines/e_capi.c: fix typo. X-Git-Tag: master-pre-reformat~1452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c0093d294879f0763f3927e4c14ffe1eea7b833;p=openssl engines/e_capi.c: fix typo. Submitted by: Pierre Delaage --- 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();