diff options
author | markus <> | 2002-09-05 22:45:21 +0000 |
---|---|---|
committer | markus <> | 2002-09-05 22:45:21 +0000 |
commit | 2a6851ef8adb0e84ff2515493d3704a13c6256b0 (patch) | |
tree | 9df5b497548eaf51e9f234d27aaf988cd14882c2 /src/lib/libcrypto/bn | |
parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
download | openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.gz openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.bz2 openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.zip |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libcrypto/bn')
-rw-r--r-- | src/lib/libcrypto/bn/bntest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bntest.c b/src/lib/libcrypto/bn/bntest.c index 443cf420e5..8158a67374 100644 --- a/src/lib/libcrypto/bn/bntest.c +++ b/src/lib/libcrypto/bn/bntest.c | |||
@@ -925,7 +925,7 @@ int test_kron(BIO *bp, BN_CTX *ctx) | |||
925 | /* r := a^t mod b */ | 925 | /* r := a^t mod b */ |
926 | b->neg=0; | 926 | b->neg=0; |
927 | 927 | ||
928 | if (!BN_mod_exp_recp(r, a, t, b, ctx)) goto err; /* XXX should be BN_mod_exp_recp, but ..._recp triggers a bug that must be fixed */ | 928 | if (!BN_mod_exp_recp(r, a, t, b, ctx)) goto err; |
929 | b->neg=1; | 929 | b->neg=1; |
930 | 930 | ||
931 | if (BN_is_word(r, 1)) | 931 | if (BN_is_word(r, 1)) |