diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-06 12:17:44 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-13 09:52:33 +0200 |
commit | b22234deebe2e1758d59c64778ce462f11f16cb4 (patch) | |
tree | ecc1bbd89326b9a0c06f5be1bc83d3f3ae65ac91 | |
parent | Deprecate SSL_COMP_free_compression_methods() and make it a no-op (diff) | |
download | openssl-b22234deebe2e1758d59c64778ce462f11f16cb4.tar.xz openssl-b22234deebe2e1758d59c64778ce462f11f16cb4.zip |
Fix conditional compile logic in speed.c
The conditional compile logic wasn't quite right in speed.c for when
both OPENSSL_NO_DSA and OPENSSL_NO_EC are defined.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r-- | apps/speed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c index b3f477e175..68d6f0f58a 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -310,7 +310,7 @@ static double ecdsa_results[EC_NUM][2]; static double ecdh_results[EC_NUM][1]; #endif -#if defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_EC) +#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC) static const char rnd_seed[] = "string to make the random number generator think it has entropy"; static int rnd_fake = 0; |