| 1 |
// Copyright (C) MongoDB, Inc. 2022-present. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 |
// not use this file except in compliance with the License. You may obtain |
| 5 |
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 6 |
|
| 7 |
//go:build cse |
| 8 |
// +build cse |
| 9 |
|
| 10 |
package mtest |
| 11 |
|
| 12 |
// IsCSFLEEnabled returns true if driver is built with Client Side Field Level Encryption support. |
| 13 |
// Client Side Field Level Encryption support is enabled with the cse build tag. |
| 14 |
func IsCSFLEEnabled() bool { |
| 15 |
return true |
| 16 |
} |