diff options
| author | Aaron Klotz <aaron@tailscale.com> | 2023-08-09 15:08:22 -0600 |
|---|---|---|
| committer | Aaron Klotz <aaron@tailscale.com> | 2023-08-09 15:33:49 -0600 |
| commit | 3d2e35c053d3ec9e2960f77f90f2b1f3b6f2b4f5 (patch) | |
| tree | 61f3a913897461220e2d64c6555b41e84e887976 | |
| parent | f9066ac1f4ec2f6d3471af0786678048396c01ac (diff) | |
| download | tailscale-3d2e35c053d3ec9e2960f77f90f2b1f3b6f2b4f5.tar.xz tailscale-3d2e35c053d3ec9e2960f77f90f2b1f3b6f2b4f5.zip | |
util/winutil/authenticode: fix an inaccurate doc comment
A #cleanup PR
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
| -rw-r--r-- | util/winutil/authenticode/authenticode_windows.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/winutil/authenticode/authenticode_windows.go b/util/winutil/authenticode/authenticode_windows.go index 88737deca..f6304f6db 100644 --- a/util/winutil/authenticode/authenticode_windows.go +++ b/util/winutil/authenticode/authenticode_windows.go @@ -34,9 +34,9 @@ const ( ) // Verify performs authenticode verification on the file at path, and also -// ensures that expectedCertSubject was the entity who signed it. path may point -// to either a PE binary or an MSI package. ErrSigNotFound is returned if no -// signature is found. +// ensures that expectedCertSubject matches the actual cert subject. path may +// point to either a PE binary or an MSI package. ErrSigNotFound is returned if +// no signature is found. func Verify(path string, expectedCertSubject string) error { path16, err := windows.UTF16PtrFromString(path) if err != nil { |
