summaryrefslogtreecommitdiff
path: root/internal/prefer_openssl
diff options
context:
space:
mode:
Diffstat (limited to 'internal/prefer_openssl')
-rw-r--r--internal/prefer_openssl/prefer_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/prefer_openssl/prefer_test.go b/internal/prefer_openssl/prefer_test.go
index a2ed737..289a0a9 100644
--- a/internal/prefer_openssl/prefer_test.go
+++ b/internal/prefer_openssl/prefer_test.go
@@ -10,14 +10,14 @@ func TestCurrentCPU(t *testing.T) {
// Has AES instructions
func TestXeonE312xx(t *testing.T) {
- if filePreferOpenSSL("cpuinfo.xeon_e312xx.txt") == true {
+ if filePreferOpenSSL("cpuinfo.xeon_e312xx.txt") {
t.Fail()
}
}
// Pentium G do not have AES instructions
func TestPentiumG630(t *testing.T) {
- if filePreferOpenSSL("cpuinfo.pentium_g630.txt") == false {
+ if !filePreferOpenSSL("cpuinfo.pentium_g630.txt") {
t.Fail()
}
}