update to latest golang.org/x/crypto

This commit is contained in:
Mechiel Lukkien
2023-03-06 08:35:57 +01:00
parent b2e6c29849
commit ba75c73716
129 changed files with 2088 additions and 1512 deletions

View File

@ -63,7 +63,7 @@ func LookPath(file string) (string, error) {
}
func fixCmd(name string, cmd *exec.Cmd) {
if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) {
if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) && !isGo119ErrFieldSet(cmd) {
// exec.Command was called with a bare binary name and
// exec.LookPath returned a path which is not absolute.
// Set cmd.lookPathErr and clear cmd.Path so that it