projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfbe10
)
remove FIPS module code from crypto/ecdh
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 19 Oct 2014 00:14:21 +0000
(
01:14
+0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 8 Dec 2014 13:25:38 +0000
(13:25 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/ecdh/ech_ossl.c
patch
|
blob
|
history
diff --git
a/crypto/ecdh/ech_ossl.c
b/crypto/ecdh/ech_ossl.c
index e25fd4f1d35c9076a328c3cca59bfc18c8382ad5..1f0409feafd1877a7b4a18f8edb41213799c3b01 100644
(file)
--- 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 */