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

crypt32: Don't set ret to FALSE when it isn't checked.

parent fe720860
...@@ -1975,8 +1975,6 @@ BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts, ...@@ -1975,8 +1975,6 @@ BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts,
nextOID += lstrlenA(nextOID) + 1; nextOID += lstrlenA(nextOID) + 1;
} }
} }
else
ret = FALSE;
} }
else else
{ {
...@@ -2024,8 +2022,6 @@ BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts, ...@@ -2024,8 +2022,6 @@ BOOL WINAPI CertGetValidUsages(DWORD cCerts, PCCERT_CONTEXT *rghCerts,
} }
CryptMemFree(pUsage); CryptMemFree(pUsage);
} }
else
ret = FALSE;
} }
} }
ret = TRUE; ret = TRUE;
......
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