diff options
author | Damien Miller <djm@mindrot.org> | 2019-09-07 19:25:00 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-08 10:37:17 +1000 |
commit | f61f29afda6c71eda26effa54d3c2e5306fd0833 (patch) | |
tree | 065e02eead3f8085a6c69a8976a8fa11e313ac6c /regress/unittests/bitmap/tests.c | |
parent | 105e1c9218940eb53473f55a9177652d889ddbad (diff) |
make unittests pass for no-openssl case
Diffstat (limited to 'regress/unittests/bitmap/tests.c')
-rw-r--r-- | regress/unittests/bitmap/tests.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/unittests/bitmap/tests.c b/regress/unittests/bitmap/tests.c index 23025f90a..f66a4ce46 100644 --- a/regress/unittests/bitmap/tests.c +++ b/regress/unittests/bitmap/tests.c | |||
@@ -16,7 +16,9 @@ | |||
16 | #include <stdlib.h> | 16 | #include <stdlib.h> |
17 | #include <string.h> | 17 | #include <string.h> |
18 | 18 | ||
19 | #ifdef WITH_OPENSSL | ||
19 | #include <openssl/bn.h> | 20 | #include <openssl/bn.h> |
21 | #endif | ||
20 | 22 | ||
21 | #include "../test_helper/test_helper.h" | 23 | #include "../test_helper/test_helper.h" |
22 | 24 | ||
@@ -27,6 +29,7 @@ | |||
27 | void | 29 | void |
28 | tests(void) | 30 | tests(void) |
29 | { | 31 | { |
32 | #ifdef WITH_OPENSSL | ||
30 | struct bitmap *b; | 33 | struct bitmap *b; |
31 | BIGNUM *bn; | 34 | BIGNUM *bn; |
32 | size_t len; | 35 | size_t len; |
@@ -131,5 +134,6 @@ tests(void) | |||
131 | bitmap_free(b); | 134 | bitmap_free(b); |
132 | BN_free(bn); | 135 | BN_free(bn); |
133 | TEST_DONE(); | 136 | TEST_DONE(); |
137 | #endif | ||
134 | } | 138 | } |
135 | 139 | ||