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:
Francois Gouget 2018-12-11 05:11:01 +01:00 committed by Alexandre Julliard
parent 7f37fc1360
commit 804eb5c435
1 changed files with 1 additions and 1 deletions

View File

@ -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,
LPWSTR str)
{
if (str && strlenW(str))
if (str && *str)
{
CRYPT_DATA_BLOB blob;