Grid Community Toolkit  6.2.1653033972 (tag: v6.2.20220524)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fips_mode_replacement.h
1 /*
2  * Copyright 2021- Grid Community Forum
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
18 /*
19  * OpenSSL version 3.0 and up no longer has FIPS_mode().
20  * Making a replacement function is not feasible since FIPS would need to be
21  * initialized differently in any case.
22  * See https://www.openssl.org/docs/manmaster/man7/fips_module.html for details
23  */
24 # define FIPS_mode() 0
25 #endif