diff options
| author | djm <> | 2009-04-06 06:30:08 +0000 |
|---|---|---|
| committer | djm <> | 2009-04-06 06:30:08 +0000 |
| commit | 40d5d67842948fbf904eb73da8f09a2ebcd2e243 (patch) | |
| tree | 6e736297805c79ec70ef2ba631b5dbb38c60ef68 /src/lib/libcrypto/bn/bntest.c | |
| parent | c38e9fa1885187364cfeba026e9bf38d6845886f (diff) | |
| download | openbsd-40d5d67842948fbf904eb73da8f09a2ebcd2e243.tar.gz openbsd-40d5d67842948fbf904eb73da8f09a2ebcd2e243.tar.bz2 openbsd-40d5d67842948fbf904eb73da8f09a2ebcd2e243.zip | |
import of OpenSSL 0.9.8k
Diffstat (limited to 'src/lib/libcrypto/bn/bntest.c')
| -rw-r--r-- | src/lib/libcrypto/bn/bntest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bntest.c b/src/lib/libcrypto/bn/bntest.c index 310763eca0..cf190380f5 100644 --- a/src/lib/libcrypto/bn/bntest.c +++ b/src/lib/libcrypto/bn/bntest.c | |||
| @@ -926,7 +926,7 @@ int test_mod_exp(BIO *bp, BN_CTX *ctx) | |||
| 926 | BN_bntest_rand(b,2+i,0,0); /**/ | 926 | BN_bntest_rand(b,2+i,0,0); /**/ |
| 927 | 927 | ||
| 928 | if (!BN_mod_exp(d,a,b,c,ctx)) | 928 | if (!BN_mod_exp(d,a,b,c,ctx)) |
| 929 | return(00); | 929 | return(0); |
| 930 | 930 | ||
| 931 | if (bp != NULL) | 931 | if (bp != NULL) |
| 932 | { | 932 | { |
| @@ -1028,7 +1028,7 @@ int test_exp(BIO *bp, BN_CTX *ctx) | |||
| 1028 | BN_bntest_rand(b,2+i,0,0); /**/ | 1028 | BN_bntest_rand(b,2+i,0,0); /**/ |
| 1029 | 1029 | ||
| 1030 | if (!BN_exp(d,a,b,ctx)) | 1030 | if (!BN_exp(d,a,b,ctx)) |
| 1031 | return(00); | 1031 | return(0); |
| 1032 | 1032 | ||
| 1033 | if (bp != NULL) | 1033 | if (bp != NULL) |
| 1034 | { | 1034 | { |
