We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641a89c commit 0bd262dCopy full SHA for 0bd262d
gix-sec/src/identity.rs
@@ -123,9 +123,9 @@ mod impl_ {
123
);
124
125
if result != ERROR_SUCCESS {
126
- // We cannot determine ownership, so we default to reduced trust (false) rather
127
- // than failing completely.
128
if result == ERROR_INVALID_FUNCTION {
+ // We cannot obtain security information, so we default to reduced trust
+ // (false) rather than failing completely.
129
return Ok(false);
130
}
131
let inner = io::Error::from_raw_os_error(result as _);
0 commit comments