Fix fips flag handling.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 27 Feb 2014 18:48:41 +0000 (18:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 27 Feb 2014 19:18:58 +0000 (19:18 +0000)
commit5f2329b82a89c2ff03bd1f2ae8a13a4113e36fc6
tree9e72f02b31b620a4c7b7ae3401e4e65f54c197a8
parent01fb5e133f8653a283bbf8a6fde92240c14d56ae
Fix fips flag handling.

Don't set the fips flags in cipher and digests as the implementations
aren't suitable for FIPS mode and will be redirected to the FIPS module
versions anyway.

Return EVP_CIPH_FLAG_FIPS or EVP_MD_FLAG_FIPS if a FIPS implementation
exists when calling EVP_CIPHER_flags and EVP_MD_flags repectively.

Remove unused FIPS code from e_aes.c: the 1.0.2 branch will never be
used to build a FIPS module.
crypto/evp/e_aes.c
crypto/evp/e_des3.c
crypto/evp/evp_lib.c