Blame SOURCES/openssl-1.0.2a-readme-warning.patch

aa8173
diff -up openssl-1.0.2a/README.warning openssl-1.0.2a/README
aa8173
--- openssl-1.0.2a/README.warning	2015-03-20 16:00:47.000000000 +0100
aa8173
+++ openssl-1.0.2a/README	2015-03-21 09:06:11.000000000 +0100
aa8173
@@ -5,6 +5,46 @@
aa8173
  Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
aa8173
  All rights reserved.
aa8173
 
aa8173
+ WARNING
aa8173
+ -------
aa8173
+
aa8173
+ This version of OpenSSL is built in a way that supports operation in
aa8173
+ the so called FIPS mode. Note though that the library as we build it
aa8173
+ is not FIPS 140-2 validated and the FIPS mode is present for testing
aa8173
+ purposes only.
aa8173
+
aa8173
+ This version also contains a few differences from the upstream code
aa8173
+ some of which are:
aa8173
+   * The FIPS validation support is significantly different from the
aa8173
+     upstream FIPS support. For example the FIPS integrity verification
aa8173
+     check is implemented differently as the FIPS module is built inside
aa8173
+     the shared library. The HMAC-SHA256 checksums of the whole shared
aa8173
+     libraries are verified. Also note that the FIPS integrity
aa8173
+     verification check requires that the libcrypto and libssl shared
aa8173
+     library files are unmodified which means that it will fail if these
aa8173
+     files are changed for example by prelink.
aa8173
+   * If the file /etc/system-fips is present the integrity verification
aa8173
+     and selftests of the crypto algorithms are run inside the library
aa8173
+     constructor code.
aa8173
+   * With the /etc/system-fips present the module respects the kernel
aa8173
+     FIPS flag /proc/sys/crypto/fips and tries to initialize the FIPS mode
aa8173
+     if it is set to 1 aborting if the FIPS mode could not be initialized.
aa8173
+     With the /etc/system-fips present it is also possible to force the
aa8173
+     OpenSSL library to FIPS mode especially for debugging purposes by
aa8173
+     setting the environment variable OPENSSL_FORCE_FIPS_MODE.
aa8173
+   * If the environment variable OPENSSL_NO_DEFAULT_ZLIB is set the module
aa8173
+     will not automatically load the built in compression method ZLIB
aa8173
+     when initialized. Applications can still explicitely ask for ZLIB
aa8173
+     compression method.
aa8173
+   * The library was patched so the certificates, CRLs and other objects
aa8173
+     signed with use of MD5 fail verification as the MD5 is too insecure
aa8173
+     to be used for signatures. If the environment variable
aa8173
+     OPENSSL_ENABLE_MD5_VERIFY is set, the verification can proceed
aa8173
+     normally.
aa8173
+   * If the OPENSSL_ENFORCE_MODULUS_BITS environment variable is set,
aa8173
+     the library will not allow generation of DSA and RSA keys with
aa8173
+     other lengths than specified in the FIPS 186-4 standard.
aa8173
+
aa8173
  DESCRIPTION
aa8173
  -----------
aa8173