From 4a93956ada6cca8583018cc4d379959f516e7117 Mon Sep 17 00:00:00 2001 From: beck <> Date: Sat, 21 Jan 2017 23:02:53 +0000 Subject: use BN_div_nonct where it is safe to do so. ok guenther@ --- src/lib/libcrypto/bn/bn_gcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/bn/bn_gcd.c b/src/lib/libcrypto/bn/bn_gcd.c index 4eab1b36d2..30896e4763 100644 --- a/src/lib/libcrypto/bn/bn_gcd.c +++ b/src/lib/libcrypto/bn/bn_gcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_gcd.c,v 1.12 2017/01/21 11:00:46 beck Exp $ */ +/* $OpenBSD: bn_gcd.c,v 1.13 2017/01/21 23:02:53 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -420,7 +420,7 @@ BN_mod_inverse_internal(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ct } } } else { - if (!BN_div_ct(D, M, A, B, ctx)) + if (!BN_div_nonct(D, M, A, B, ctx)) goto err; } -- cgit v1.2.3-55-g6feb