Commit 382d0679 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

crypt32: Simplify CRYPT_AsnDecodeUnicodeNameValueInternal, getting rid of a warning.

parent a9670e37
......@@ -1511,10 +1511,9 @@ static BOOL WINAPI CRYPT_AsnDecodeUnicodeNameValueInternal(
break;
default:
SetLastError(CRYPT_E_ASN1_BADTAG);
ret = FALSE;
return FALSE;
}
if (ret)
{
if (!value)
*pcbStructInfo = bytesNeeded;
else if (*pcbStructInfo < bytesNeeded)
......@@ -1573,7 +1572,6 @@ static BOOL WINAPI CRYPT_AsnDecodeUnicodeNameValueInternal(
}
}
}
}
return ret;
}
......
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