summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_key.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-03-28 02:15:28 +0200
committerBodo Möller <bodo@openssl.org>2007-03-28 02:15:28 +0200
commitbd31fb21454609b125ade1ad569ebcc2a2b9b73c (patch)
tree812dbe6bff6096ca490e26dd48a6bc3fee51b320 /crypto/dsa/dsa_key.c
parentAllow shared builds for aix[64]-gcc targets. (diff)
downloadopenssl-bd31fb21454609b125ade1ad569ebcc2a2b9b73c.tar.xz
openssl-bd31fb21454609b125ade1ad569ebcc2a2b9b73c.zip
Change to mitigate branch prediction attacks
Submitted by: Matthew D Wood Reviewed by: Bodo Moeller
Diffstat (limited to 'crypto/dsa/dsa_key.c')
-rw-r--r--crypto/dsa/dsa_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c
index 0423f2e00c..c4aa86bc6d 100644
--- a/crypto/dsa/dsa_key.c
+++ b/crypto/dsa/dsa_key.c
@@ -107,7 +107,7 @@ static int dsa_builtin_keygen(DSA *dsa)
{
BN_init(&local_prk);
prk = &local_prk;
- BN_with_flags(prk, priv_key, BN_FLG_EXP_CONSTTIME);
+ BN_with_flags(prk, priv_key, BN_FLG_CONSTTIME);
}
else
prk = priv_key;