aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-10-19 01:14:21 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-12-08 13:25:38 +0000
commit1c98de6d81320ae256530df7d6a32135d56c9e6e (patch)
treeea6ca8dd1d0a3e345a6e1dce5e9d7d798e55979d /crypto/ecdh
parentdbfbe10a1ffe6bf0ce53caf9814f624d1dd36276 (diff)
downloadopenssl-1c98de6d81320ae256530df7d6a32135d56c9e6e.tar.gz
remove FIPS module code from crypto/ecdh
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ecdh')
-rw-r--r--crypto/ecdh/ech_ossl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/ecdh/ech_ossl.c b/crypto/ecdh/ech_ossl.c
index e25fd4f1d3..1f0409feaf 100644
--- a/crypto/ecdh/ech_ossl.c
+++ b/crypto/ecdh/ech_ossl.c
@@ -119,14 +119,6 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
size_t buflen, len;
unsigned char *buf=NULL;
-#ifdef OPENSSL_FIPS
- if(FIPS_selftest_failed())
- {
- FIPSerr(FIPS_F_ECDH_COMPUTE_KEY,FIPS_R_FIPS_SELFTEST_FAILED);
- return -1;
- }
-#endif
-
if (outlen > INT_MAX)
{
ECDHerr(ECDH_F_ECDH_COMPUTE_KEY,ERR_R_MALLOC_FAILURE); /* sort of, anyway */