diff options
author | beck <> | 2017-01-21 23:02:53 +0000 |
---|---|---|
committer | beck <> | 2017-01-21 23:02:53 +0000 |
commit | 4a93956ada6cca8583018cc4d379959f516e7117 (patch) | |
tree | 1f5d2a92b78611d95dad4e8524db3dfc84fc4578 /src | |
parent | 9a561f2327a3e6b5ee853e60427012bfe6e02043 (diff) | |
download | openbsd-4a93956ada6cca8583018cc4d379959f516e7117.tar.gz openbsd-4a93956ada6cca8583018cc4d379959f516e7117.tar.bz2 openbsd-4a93956ada6cca8583018cc4d379959f516e7117.zip |
use BN_div_nonct where it is safe to do so.
ok guenther@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/bn/bn_gcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: bn_gcd.c,v 1.12 2017/01/21 11:00:46 beck Exp $ */ | 1 | /* $OpenBSD: bn_gcd.c,v 1.13 2017/01/21 23:02:53 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -420,7 +420,7 @@ BN_mod_inverse_internal(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ct | |||
420 | } | 420 | } |
421 | } | 421 | } |
422 | } else { | 422 | } else { |
423 | if (!BN_div_ct(D, M, A, B, ctx)) | 423 | if (!BN_div_nonct(D, M, A, B, ctx)) |
424 | goto err; | 424 | goto err; |
425 | } | 425 | } |
426 | 426 | ||