Commit db73ae9e authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Rename a variable for clarity.

parent 09b6cf97
...@@ -282,7 +282,7 @@ typedef struct _WINE_STORE_LIST_ENTRY ...@@ -282,7 +282,7 @@ typedef struct _WINE_STORE_LIST_ENTRY
typedef struct _WINE_COLLECTION_CERT_CONTEXT typedef struct _WINE_COLLECTION_CERT_CONTEXT
{ {
WINE_CERT_CONTEXT_REF cert; WINE_CERT_CONTEXT_REF cert;
PWINE_STORE_LIST_ENTRY entry; PWINE_STORE_LIST_ENTRY storeEntry;
PWINE_CERT_CONTEXT_REF childContext; PWINE_CERT_CONTEXT_REF childContext;
} WINE_COLLECTION_CERT_CONTEXT, *PWINE_COLLECTION_CERT_CONTEXT; } WINE_COLLECTION_CERT_CONTEXT, *PWINE_COLLECTION_CERT_CONTEXT;
...@@ -648,7 +648,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionCreateCertRef( ...@@ -648,7 +648,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionCreateCertRef(
{ {
/* Initialize to empty for now, just make sure the size is right */ /* Initialize to empty for now, just make sure the size is right */
CRYPT_InitCertRef((PWINE_CERT_CONTEXT_REF)ret, context, store); CRYPT_InitCertRef((PWINE_CERT_CONTEXT_REF)ret, context, store);
ret->entry = NULL; ret->storeEntry = NULL;
ret->childContext = NULL; ret->childContext = NULL;
} }
return (PWINE_CERT_CONTEXT_REF)ret; return (PWINE_CERT_CONTEXT_REF)ret;
...@@ -705,7 +705,7 @@ static PWINE_COLLECTION_CERT_CONTEXT CRYPT_CollectionAdvanceEnum( ...@@ -705,7 +705,7 @@ static PWINE_COLLECTION_CERT_CONTEXT CRYPT_CollectionAdvanceEnum(
child->context, store); child->context, store);
if (ret) if (ret)
{ {
ret->entry = storeEntry; ret->storeEntry = storeEntry;
ret->childContext = child; ret->childContext = child;
} }
else else
...@@ -740,7 +740,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionEnumCert( ...@@ -740,7 +740,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionEnumCert(
if (prevEntry) if (prevEntry)
{ {
EnterCriticalSection(&cs->cs); EnterCriticalSection(&cs->cs);
ret = CRYPT_CollectionAdvanceEnum(cs, prevEntry->entry, prevEntry); ret = CRYPT_CollectionAdvanceEnum(cs, prevEntry->storeEntry, prevEntry);
LeaveCriticalSection(&cs->cs); LeaveCriticalSection(&cs->cs);
} }
else else
...@@ -752,7 +752,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionEnumCert( ...@@ -752,7 +752,7 @@ static PWINE_CERT_CONTEXT_REF CRYPT_CollectionEnumCert(
storeEntry = LIST_ENTRY(cs->stores.next, WINE_STORE_LIST_ENTRY, storeEntry = LIST_ENTRY(cs->stores.next, WINE_STORE_LIST_ENTRY,
entry); entry);
ret = CRYPT_CollectionAdvanceEnum(cs, storeEntry, prevEntry); ret = CRYPT_CollectionAdvanceEnum(cs, storeEntry, NULL);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment