cryptui: Avoid an unneeded strlen() call.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f37fc1360
commit
804eb5c435
|
@ -3497,7 +3497,7 @@ static void set_general_cert_properties(HWND hwnd, struct edit_cert_data *data)
|
||||||
static void set_cert_string_property(PCCERT_CONTEXT cert, DWORD prop,
|
static void set_cert_string_property(PCCERT_CONTEXT cert, DWORD prop,
|
||||||
LPWSTR str)
|
LPWSTR str)
|
||||||
{
|
{
|
||||||
if (str && strlenW(str))
|
if (str && *str)
|
||||||
{
|
{
|
||||||
CRYPT_DATA_BLOB blob;
|
CRYPT_DATA_BLOB blob;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue