mirror of
https://github.com/documize/community.git
synced 2025-07-28 01:29:43 +02:00
Bump version to 5.11.0
This commit is contained in:
parent
a32510b8e6
commit
510e1bd0bd
370 changed files with 18825 additions and 5454 deletions
20
vendor/github.com/microsoft/go-mssqldb/msdsn/conn_str_go112pre.go
generated
vendored
Normal file
20
vendor/github.com/microsoft/go-mssqldb/msdsn/conn_str_go112pre.go
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
//go:build !go1.12
|
||||
// +build !go1.12
|
||||
|
||||
package msdsn
|
||||
|
||||
import "crypto/tls"
|
||||
|
||||
func TLSVersionFromString(minTLSVersion string) uint16 {
|
||||
switch minTLSVersion {
|
||||
case "1.0":
|
||||
return tls.VersionTLS10
|
||||
case "1.1":
|
||||
return tls.VersionTLS11
|
||||
case "1.2":
|
||||
return tls.VersionTLS12
|
||||
default:
|
||||
// use the tls package default
|
||||
}
|
||||
return 0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue