diff options
author | Colin Watson <cjwatson@debian.org> | 2019-10-09 22:59:48 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-10-09 22:59:48 +0100 |
commit | 4213eec74e74de6310c27a40c3e9759a08a73996 (patch) | |
tree | e97a6dcafc6763aea7c804e4e113c2750cb1400d /regress/unittests/bitmap | |
parent | 102062f825fb26a74295a1c089c00c4c4c76b68a (diff) | |
parent | cdf1d0a9f5d18535e0a18ff34860e81a6d83aa5c (diff) |
Import openssh_8.1p1.orig.tar.gz
Diffstat (limited to 'regress/unittests/bitmap')
-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 | ||