diff options
author | djm <> | 2010-10-01 22:59:01 +0000 |
---|---|---|
committer | djm <> | 2010-10-01 22:59:01 +0000 |
commit | fe047d8b632246cb2db3234a0a4f32e5c318857b (patch) | |
tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/bn/exptest.c | |
parent | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (diff) | |
download | openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.gz openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.bz2 openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.zip |
resolve conflicts, fix local changes
Diffstat (limited to 'src/lib/libcrypto/bn/exptest.c')
-rw-r--r-- | src/lib/libcrypto/bn/exptest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/exptest.c b/src/lib/libcrypto/bn/exptest.c index f598a07cf5..074a8e882a 100644 --- a/src/lib/libcrypto/bn/exptest.c +++ b/src/lib/libcrypto/bn/exptest.c | |||
@@ -163,7 +163,7 @@ int main(int argc, char *argv[]) | |||
163 | { | 163 | { |
164 | if (BN_cmp(r_simple,r_mont) != 0) | 164 | if (BN_cmp(r_simple,r_mont) != 0) |
165 | printf("\nsimple and mont results differ\n"); | 165 | printf("\nsimple and mont results differ\n"); |
166 | if (BN_cmp(r_simple,r_mont) != 0) | 166 | if (BN_cmp(r_simple,r_mont_const) != 0) |
167 | printf("\nsimple and mont const time results differ\n"); | 167 | printf("\nsimple and mont const time results differ\n"); |
168 | if (BN_cmp(r_simple,r_recp) != 0) | 168 | if (BN_cmp(r_simple,r_recp) != 0) |
169 | printf("\nsimple and recp results differ\n"); | 169 | printf("\nsimple and recp results differ\n"); |
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) | |||
187 | BN_free(b); | 187 | BN_free(b); |
188 | BN_free(m); | 188 | BN_free(m); |
189 | BN_CTX_free(ctx); | 189 | BN_CTX_free(ctx); |
190 | ERR_remove_state(0); | 190 | ERR_remove_thread_state(NULL); |
191 | CRYPTO_mem_leaks(out); | 191 | CRYPTO_mem_leaks(out); |
192 | BIO_free(out); | 192 | BIO_free(out); |
193 | printf(" done\n"); | 193 | printf(" done\n"); |