Commit 749a7ada authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts.

parent fa6b64d6
......@@ -1583,8 +1583,8 @@ BOOL WINAPI RSAENH_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
case CRYPT_VERIFYCONTEXT|CRYPT_NEWKEYSET:
case CRYPT_VERIFYCONTEXT:
if (pszContainer) {
TRACE("pszContainer should be NULL\n");
if (pszContainer && *pszContainer) {
TRACE("pszContainer should be empty\n");
SetLastError(NTE_BAD_FLAGS);
return FALSE;
}
......
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