Skip to content

Commit

Permalink
utils: attempt to fix retrieval of machine id on win32.
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Apr 18, 2024
1 parent f74c47c commit b3113a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ int flb_utils_get_machine_id(char **out_id, size_t *out_size)
status = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
TEXT("SOFTWARE\\Microsoft\\Cryptography"),
0,
KEY_QUERY_VALUE,
KEY_QUERY_VALUE|KEY_WOW64_64KEY,
&hKey);

if (status != ERROR_SUCCESS) {
Expand Down

0 comments on commit b3113a8

Please sign in to comment.