mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
util/winutil/authenticode: fix an inaccurate doc comment
A #cleanup PR Signed-off-by: Aaron Klotz <aaron@tailscale.com>
This commit is contained in:
parent
f9066ac1f4
commit
3d2e35c053
@ -34,9 +34,9 @@
|
||||
)
|
||||
|
||||
// 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user