diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_fixed.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_fuzz.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_getput_basic.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_getput_crypto.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | 4 | ||||
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_misc.c | 4 | ||||
-rw-r--r-- | regress/unittests/test_helper/fuzz.c | 4 | ||||
-rw-r--r-- | regress/unittests/test_helper/test_helper.c | 4 | ||||
-rw-r--r-- | regress/unittests/test_helper/test_helper.h | 4 |
11 files changed, 32 insertions, 10 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20140611 | 1 | 20140611 |
2 | - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from | 2 | - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from |
3 | openbsd-compat/bsd-asprintf.c. | 3 | openbsd-compat/bsd-asprintf.c. |
4 | - (dtucker) [regress/unittests/sshbuf/*.c regress/unittests/test_helper/*] | ||
5 | Wrap stdlib.h include an ifdef for platforms that don't have it. | ||
4 | 6 | ||
5 | 20140610 | 7 | 20140610 |
6 | - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c | 8 | - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c |
diff --git a/regress/unittests/sshbuf/test_sshbuf.c b/regress/unittests/sshbuf/test_sshbuf.c index 85eacd66f..ee77d6934 100644 --- a/regress/unittests/sshbuf/test_sshbuf.c +++ b/regress/unittests/sshbuf/test_sshbuf.c | |||
@@ -11,7 +11,9 @@ | |||
11 | #include <sys/types.h> | 11 | #include <sys/types.h> |
12 | #include <sys/param.h> | 12 | #include <sys/param.h> |
13 | #include <stdio.h> | 13 | #include <stdio.h> |
14 | #include <stdint.h> | 14 | #ifdef HAVE_STDINT_H |
15 | # include <stdint.h> | ||
16 | #endif | ||
15 | #include <stdlib.h> | 17 | #include <stdlib.h> |
16 | #include <string.h> | 18 | #include <string.h> |
17 | 19 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_fixed.c b/regress/unittests/sshbuf/test_sshbuf_fixed.c index 52dc84b6f..df4925f7c 100644 --- a/regress/unittests/sshbuf/test_sshbuf_fixed.c +++ b/regress/unittests/sshbuf/test_sshbuf_fixed.c | |||
@@ -11,7 +11,9 @@ | |||
11 | #include <sys/types.h> | 11 | #include <sys/types.h> |
12 | #include <sys/param.h> | 12 | #include <sys/param.h> |
13 | #include <stdio.h> | 13 | #include <stdio.h> |
14 | #include <stdint.h> | 14 | #ifdef HAVE_STDINT_H |
15 | # include <stdint.h> | ||
16 | #endif | ||
15 | #include <stdlib.h> | 17 | #include <stdlib.h> |
16 | #include <string.h> | 18 | #include <string.h> |
17 | 19 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_fuzz.c index d902ac460..c52376b53 100644 --- a/regress/unittests/sshbuf/test_sshbuf_fuzz.c +++ b/regress/unittests/sshbuf/test_sshbuf_fuzz.c | |||
@@ -10,7 +10,9 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #include <stdint.h> | 13 | #ifdef HAVE_STDINT_H |
14 | # include <stdint.h> | ||
15 | #endif | ||
14 | #include <stdlib.h> | 16 | #include <stdlib.h> |
15 | #include <string.h> | 17 | #include <string.h> |
16 | 18 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_basic.c b/regress/unittests/sshbuf/test_sshbuf_getput_basic.c index cf4d0a343..966e8432b 100644 --- a/regress/unittests/sshbuf/test_sshbuf_getput_basic.c +++ b/regress/unittests/sshbuf/test_sshbuf_getput_basic.c | |||
@@ -10,7 +10,9 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #include <stdint.h> | 13 | #ifdef HAVE_STDINT_H |
14 | # include <stdint.h> | ||
15 | #endif | ||
14 | #include <stdlib.h> | 16 | #include <stdlib.h> |
15 | #include <string.h> | 17 | #include <string.h> |
16 | 18 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c b/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c index 4f3b5a8ea..e181b8f93 100644 --- a/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c +++ b/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c | |||
@@ -10,7 +10,9 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #include <stdint.h> | 13 | #ifdef HAVE_STDINT_H |
14 | # include <stdint.h> | ||
15 | #endif | ||
14 | #include <stdlib.h> | 16 | #include <stdlib.h> |
15 | #include <string.h> | 17 | #include <string.h> |
16 | 18 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c index 3987515a4..2a242e9f2 100644 --- a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c +++ b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | |||
@@ -10,7 +10,9 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #include <stdint.h> | 13 | #ifdef HAVE_STDINT_H |
14 | # include <stdint.h> | ||
15 | #endif | ||
14 | #include <stdlib.h> | 16 | #include <stdlib.h> |
15 | #include <string.h> | 17 | #include <string.h> |
16 | 18 | ||
diff --git a/regress/unittests/sshbuf/test_sshbuf_misc.c b/regress/unittests/sshbuf/test_sshbuf_misc.c index a47f9f0bf..f155491a0 100644 --- a/regress/unittests/sshbuf/test_sshbuf_misc.c +++ b/regress/unittests/sshbuf/test_sshbuf_misc.c | |||
@@ -10,7 +10,9 @@ | |||
10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
11 | #include <sys/param.h> | 11 | #include <sys/param.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #include <stdint.h> | 13 | #ifdef HAVE_STDINT_H |
14 | # include <stdint.h> | ||
15 | #endif | ||
14 | #include <stdlib.h> | 16 | #include <stdlib.h> |
15 | #include <string.h> | 17 | #include <string.h> |
16 | 18 | ||
diff --git a/regress/unittests/test_helper/fuzz.c b/regress/unittests/test_helper/fuzz.c index 63b2370d2..77c6e7cad 100644 --- a/regress/unittests/test_helper/fuzz.c +++ b/regress/unittests/test_helper/fuzz.c | |||
@@ -24,7 +24,9 @@ | |||
24 | #include <assert.h> | 24 | #include <assert.h> |
25 | #include <ctype.h> | 25 | #include <ctype.h> |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | #include <stdint.h> | 27 | #ifdef HAVE_STDINT_H |
28 | # include <stdint.h> | ||
29 | #endif | ||
28 | #include <stdlib.h> | 30 | #include <stdlib.h> |
29 | #include <string.h> | 31 | #include <string.h> |
30 | #include <assert.h> | 32 | #include <assert.h> |
diff --git a/regress/unittests/test_helper/test_helper.c b/regress/unittests/test_helper/test_helper.c index 5881538ee..6faf99e51 100644 --- a/regress/unittests/test_helper/test_helper.c +++ b/regress/unittests/test_helper/test_helper.c | |||
@@ -24,7 +24,9 @@ | |||
24 | 24 | ||
25 | #include <fcntl.h> | 25 | #include <fcntl.h> |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | #include <stdint.h> | 27 | #ifdef HAVE_STDINT_H |
28 | # include <stdint.h> | ||
29 | #endif | ||
28 | #include <stdlib.h> | 30 | #include <stdlib.h> |
29 | #include <string.h> | 31 | #include <string.h> |
30 | #include <assert.h> | 32 | #include <assert.h> |
diff --git a/regress/unittests/test_helper/test_helper.h b/regress/unittests/test_helper/test_helper.h index 6ead92a1c..7ba187004 100644 --- a/regress/unittests/test_helper/test_helper.h +++ b/regress/unittests/test_helper/test_helper.h | |||
@@ -21,7 +21,9 @@ | |||
21 | #define _TEST_HELPER_H | 21 | #define _TEST_HELPER_H |
22 | 22 | ||
23 | #include <sys/types.h> | 23 | #include <sys/types.h> |
24 | #include <stdint.h> | 24 | #ifdef HAVE_STDINT_H |
25 | # include <stdint.h> | ||
26 | #endif | ||
25 | 27 | ||
26 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
27 | #include <openssl/err.h> | 29 | #include <openssl/err.h> |