diff options
author | djm <> | 2012-10-13 21:25:14 +0000 |
---|---|---|
committer | djm <> | 2012-10-13 21:25:14 +0000 |
commit | 93723b50b639d8dc717bc1bf463fd46e1b321239 (patch) | |
tree | 281e0a29ae8f87a8c47fbd4deaa1f3d48b8cc5c1 /src/lib/libcrypto/bn/bntest.c | |
parent | 65e72ac55a6405783db7a12d7e35a7561d46005b (diff) | |
download | openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.gz openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.bz2 openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.zip |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/bn/bntest.c')
-rw-r--r-- | src/lib/libcrypto/bn/bntest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/bntest.c b/src/lib/libcrypto/bn/bntest.c index 0cd99c5b4b..06f5954acc 100644 --- a/src/lib/libcrypto/bn/bntest.c +++ b/src/lib/libcrypto/bn/bntest.c | |||
@@ -262,7 +262,7 @@ int main(int argc, char *argv[]) | |||
262 | message(out,"BN_mod_sqrt"); | 262 | message(out,"BN_mod_sqrt"); |
263 | if (!test_sqrt(out,ctx)) goto err; | 263 | if (!test_sqrt(out,ctx)) goto err; |
264 | (void)BIO_flush(out); | 264 | (void)BIO_flush(out); |
265 | 265 | #ifndef OPENSSL_NO_EC2M | |
266 | message(out,"BN_GF2m_add"); | 266 | message(out,"BN_GF2m_add"); |
267 | if (!test_gf2m_add(out)) goto err; | 267 | if (!test_gf2m_add(out)) goto err; |
268 | (void)BIO_flush(out); | 268 | (void)BIO_flush(out); |
@@ -298,7 +298,7 @@ int main(int argc, char *argv[]) | |||
298 | message(out,"BN_GF2m_mod_solve_quad"); | 298 | message(out,"BN_GF2m_mod_solve_quad"); |
299 | if (!test_gf2m_mod_solve_quad(out,ctx)) goto err; | 299 | if (!test_gf2m_mod_solve_quad(out,ctx)) goto err; |
300 | (void)BIO_flush(out); | 300 | (void)BIO_flush(out); |
301 | 301 | #endif | |
302 | BN_CTX_free(ctx); | 302 | BN_CTX_free(ctx); |
303 | BIO_free(out); | 303 | BIO_free(out); |
304 | 304 | ||
@@ -1061,7 +1061,7 @@ int test_exp(BIO *bp, BN_CTX *ctx) | |||
1061 | BN_free(one); | 1061 | BN_free(one); |
1062 | return(1); | 1062 | return(1); |
1063 | } | 1063 | } |
1064 | 1064 | #ifndef OPENSSL_NO_EC2M | |
1065 | int test_gf2m_add(BIO *bp) | 1065 | int test_gf2m_add(BIO *bp) |
1066 | { | 1066 | { |
1067 | BIGNUM a,b,c; | 1067 | BIGNUM a,b,c; |
@@ -1636,7 +1636,7 @@ int test_gf2m_mod_solve_quad(BIO *bp,BN_CTX *ctx) | |||
1636 | BN_free(e); | 1636 | BN_free(e); |
1637 | return ret; | 1637 | return ret; |
1638 | } | 1638 | } |
1639 | 1639 | #endif | |
1640 | static int genprime_cb(int p, int n, BN_GENCB *arg) | 1640 | static int genprime_cb(int p, int n, BN_GENCB *arg) |
1641 | { | 1641 | { |
1642 | char c='*'; | 1642 | char c='*'; |