--- dlls/cryptui/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 4ac37c96df0..66052f8727c 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -3480,7 +3480,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;