2016-05-12 09:50:36 +02:00
|
|
|
// +build !go1.6 !amd64
|
|
|
|
// not go1.6+ OR not amd64
|
2016-05-11 23:36:57 +02:00
|
|
|
|
|
|
|
package prefer_openssl
|
|
|
|
|
|
|
|
func PreferOpenSSL() bool {
|
2016-05-12 09:50:36 +02:00
|
|
|
// OpenSSL is always faster than Go GCM on old Go versions or on anything
|
|
|
|
// other than amd64
|
2016-05-11 23:36:57 +02:00
|
|
|
return true
|
|
|
|
}
|