mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
e374bb7e2d
* [Vendor] update go-ldap to v3.0.3 * update go-ldap to v3.2.4 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
20 lines
506 B
Go
Vendored
20 lines
506 B
Go
Vendored
package ntlmssp
|
|
|
|
// Version is a struct representing https://msdn.microsoft.com/en-us/library/cc236654.aspx
|
|
type Version struct {
|
|
ProductMajorVersion uint8
|
|
ProductMinorVersion uint8
|
|
ProductBuild uint16
|
|
_ [3]byte
|
|
NTLMRevisionCurrent uint8
|
|
}
|
|
|
|
// DefaultVersion returns a Version with "sensible" defaults (Windows 7)
|
|
func DefaultVersion() Version {
|
|
return Version{
|
|
ProductMajorVersion: 6,
|
|
ProductMinorVersion: 1,
|
|
ProductBuild: 7601,
|
|
NTLMRevisionCurrent: 15,
|
|
}
|
|
}
|