Source file src/crypto/tls/boring.go

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build boringcrypto
     6  
     7  package tls
     8  
     9  import "crypto/internal/boring/fipstls"
    10  
    11  // needFIPS returns fipstls.Required(), which is not available without the
    12  // boringcrypto build tag.
    13  func needFIPS() bool {
    14  	return fipstls.Required()
    15  }
    16  

View as plain text