diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-06-06 23:37:38 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-06-06 23:37:38 +0000 |
commit | f14f59e135725da28e313d7b21a3f6fe40beca37 (patch) | |
tree | 5d6169dc02d39b0fddf82f2df243ce419678f3bc | |
parent | 245ca0f133d8d925a4dc2af1bd677a35fe114aeb (diff) |
Set BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix.
Mistake noted by Billy Brumley. Many thanks.
-rw-r--r-- | lib/libssl/src/crypto/dsa/dsa_ossl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/dsa/dsa_ossl.c b/lib/libssl/src/crypto/dsa/dsa_ossl.c index 13101cea1dc..7e1d494ff36 100644 --- a/lib/libssl/src/crypto/dsa/dsa_ossl.c +++ b/lib/libssl/src/crypto/dsa/dsa_ossl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_ossl.c,v 1.24 2016/06/06 10:00:04 beck Exp $ */ +/* $OpenBSD: dsa_ossl.c,v 1.25 2016/06/06 23:37:37 tedu Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -282,7 +282,7 @@ dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) } if ((dsa->flags & DSA_FLAG_NO_EXP_CONSTTIME) == 0) { - BN_set_flags(&k, BN_FLG_CONSTTIME); + BN_set_flags(K, BN_FLG_CONSTTIME); } DSA_BN_MOD_EXP(goto err, dsa, r, dsa->g, K, dsa->p, ctx, |