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

@ -20,3 +20,11 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
}
return
}
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(uintptr(arg)))
if r0 == -1 && er != nil {
err = er
}
return
}