Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
openssl-1_1.26614
openssl-fips_mode.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-fips_mode.patch of Package openssl-1_1.26614
Index: openssl-1.1.1d/apps/openssl.c =================================================================== --- openssl-1.1.1d.orig/apps/openssl.c 2019-09-10 15:13:07.000000000 +0200 +++ openssl-1.1.1d/apps/openssl.c 2020-01-23 13:45:11.452634334 +0100 @@ -151,8 +151,15 @@ int main(int argc, char *argv[]) CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); if (getenv("OPENSSL_FIPS")) { +#ifdef OPENSSL_FIPS + if (!FIPS_mode_set(1)) { + ERR_print_errors(bio_err); + return 1; + } +#else BIO_printf(bio_err, "FIPS mode not supported.\n"); return 1; +#endif } if (!apps_startup()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor