summaryrefslogtreecommitdiff
path: root/ssh-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-rsa.c')
-rw-r--r--ssh-rsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-rsa.c b/ssh-rsa.c
index 9b14f9a9..d8c3d95f 100644
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -132,8 +132,10 @@ ssh_rsa_complete_crt_parameters(struct sshkey *key, const BIGNUM *iqmp)
r = SSH_ERR_ALLOC_FAIL;
goto out;
}
+#if !defined(OPENSSL_IS_BORINGSSL)
BN_set_flags(aux, BN_FLG_CONSTTIME);
BN_set_flags(d_consttime, BN_FLG_CONSTTIME);
+#endif
if ((BN_sub(aux, rsa_q, BN_value_one()) == 0) ||
(BN_mod(rsa_dmq1, d_consttime, aux, ctx) == 0) ||