mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-06 14:39:40 +00:00
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>
This commit is contained in:
parent
03b0e73555
commit
b22234deeb
@ -310,7 +310,7 @@ static double ecdsa_results[EC_NUM][2];
|
|||||||
static double ecdh_results[EC_NUM][1];
|
static double ecdh_results[EC_NUM][1];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_EC)
|
#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_EC)
|
||||||
static const char rnd_seed[] =
|
static const char rnd_seed[] =
|
||||||
"string to make the random number generator think it has entropy";
|
"string to make the random number generator think it has entropy";
|
||||||
static int rnd_fake = 0;
|
static int rnd_fake = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user