portable-devtools / go /src /crypto /tls /fipsonly /fipsonly_test.go
codekingpro's picture
Add files using upload-large-folder tool
4bcc2be verified
Raw
History Blame Contribute Delete
377 Bytes
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build boringcrypto
package fipsonly
import (
"crypto/tls/internal/fips140tls"
"testing"
)
func Test(t *testing.T) {
if !fips140tls.Required() {
t.Fatal("fips140tls.Required() = false, must be true")
}
}