diff options
Diffstat (limited to 'src/regress')
| -rw-r--r-- | src/regress/lib/libssl/Makefile | 4 | ||||
| -rw-r--r-- | src/regress/lib/libssl/interop/Makefile | 14 | ||||
| -rw-r--r-- | src/regress/lib/libssl/interop/cert/Makefile | 6 | ||||
| -rw-r--r-- | src/regress/lib/libssl/interop/cipher/Makefile | 10 | ||||
| -rw-r--r-- | src/regress/lib/libssl/interop/version/Makefile | 10 |
5 files changed, 35 insertions, 9 deletions
diff --git a/src/regress/lib/libssl/Makefile b/src/regress/lib/libssl/Makefile index a6b93eed42..078f750842 100644 --- a/src/regress/lib/libssl/Makefile +++ b/src/regress/lib/libssl/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.39 2020/05/21 10:46:29 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.40 2020/09/21 15:13:24 beck Exp $ |
| 2 | 2 | ||
| 3 | SUBDIR += asn1 | 3 | SUBDIR += asn1 |
| 4 | SUBDIR += buffer | 4 | SUBDIR += buffer |
| @@ -16,8 +16,8 @@ SUBDIR += key_schedule | |||
| 16 | SUBDIR += unit | 16 | SUBDIR += unit |
| 17 | 17 | ||
| 18 | # Things that take a long time should go below here. | 18 | # Things that take a long time should go below here. |
| 19 | SUBDIR += interop | ||
| 20 | SUBDIR += tlsfuzzer | 19 | SUBDIR += tlsfuzzer |
| 20 | SUBDIR += interop | ||
| 21 | 21 | ||
| 22 | install: | 22 | install: |
| 23 | 23 | ||
diff --git a/src/regress/lib/libssl/interop/Makefile b/src/regress/lib/libssl/interop/Makefile index 0bd1195d39..aa9c3adf56 100644 --- a/src/regress/lib/libssl/interop/Makefile +++ b/src/regress/lib/libssl/interop/Makefile | |||
| @@ -1,13 +1,19 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.12 2020/09/15 01:45:16 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.13 2020/09/21 15:13:24 beck Exp $ |
| 2 | 2 | ||
| 3 | SUBDIR = libressl openssl openssl11 | 3 | SUBDIR = libressl openssl openssl11 |
| 4 | 4 | ||
| 5 | # the above binaries must have been built before we can continue | 5 | # the above binaries must have been built before we can continue |
| 6 | SUBDIR += cert | ||
| 7 | SUBDIR += cipher | ||
| 8 | SUBDIR += version | ||
| 9 | SUBDIR += netcat | 6 | SUBDIR += netcat |
| 10 | SUBDIR += session | 7 | SUBDIR += session |
| 11 | SUBDIR += botan | 8 | SUBDIR += botan |
| 12 | 9 | ||
| 10 | # What is below takes a long time. | ||
| 11 | # setting REGRESS_SKIP_SLOW to "yes" in mk.conf | ||
| 12 | # will skip the tests that do not test libressl | ||
| 13 | # but do things like test openssl to openssl11 | ||
| 14 | SUBDIR += version | ||
| 15 | SUBDIR += cipher | ||
| 16 | # This takes a really long time. | ||
| 17 | SUBDIR += cert | ||
| 18 | |||
| 13 | .include <bsd.subdir.mk> | 19 | .include <bsd.subdir.mk> |
diff --git a/src/regress/lib/libssl/interop/cert/Makefile b/src/regress/lib/libssl/interop/cert/Makefile index 11bc4aa2ab..a2838499e8 100644 --- a/src/regress/lib/libssl/interop/cert/Makefile +++ b/src/regress/lib/libssl/interop/cert/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.4 2019/02/21 23:06:33 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.5 2020/09/21 15:13:24 beck Exp $ |
| 2 | 2 | ||
| 3 | # Connect a client to a server. Both can be current libressl, or | 3 | # Connect a client to a server. Both can be current libressl, or |
| 4 | # openssl 1.0.2, or openssl 1.1. Create client and server certificates | 4 | # openssl 1.0.2, or openssl 1.1. Create client and server certificates |
| @@ -36,7 +36,11 @@ FAIL_${cca}_${sca}_${ccert}_${scert}_${cv}_${sv} = ! | |||
| 36 | .for clib in ${LIBRARIES} | 36 | .for clib in ${LIBRARIES} |
| 37 | .for slib in ${LIBRARIES} | 37 | .for slib in ${LIBRARIES} |
| 38 | 38 | ||
| 39 | .if ("${clib}" == "libressl" || "${slib}" == "libressl") | ||
| 39 | REGRESS_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv} | 40 | REGRESS_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv} |
| 41 | .else | ||
| 42 | REGRESS_SLOW_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv} | ||
| 43 | .endif | ||
| 40 | 44 | ||
| 41 | run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}: \ | 45 | run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}: \ |
| 42 | 127.0.0.1.crt ca.crt fake-ca.crt client.crt server.crt \ | 46 | 127.0.0.1.crt ca.crt fake-ca.crt client.crt server.crt \ |
diff --git a/src/regress/lib/libssl/interop/cipher/Makefile b/src/regress/lib/libssl/interop/cipher/Makefile index 4ad2dbe39b..fe74901d11 100644 --- a/src/regress/lib/libssl/interop/cipher/Makefile +++ b/src/regress/lib/libssl/interop/cipher/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.5 2020/09/12 15:48:30 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.6 2020/09/21 15:13:24 beck Exp $ |
| 2 | 2 | ||
| 3 | # Connect a client to a server. Both can be current libressl, or | 3 | # Connect a client to a server. Both can be current libressl, or |
| 4 | # openssl 1.0.2, or openssl 1.1. Create lists of supported ciphers | 4 | # openssl 1.0.2, or openssl 1.1. Create lists of supported ciphers |
| @@ -103,7 +103,11 @@ DHPARAM_${cipher}_${slib} = -p dh.param | |||
| 103 | DHPARAM_${cipher}_${slib} = | 103 | DHPARAM_${cipher}_${slib} = |
| 104 | .endif | 104 | .endif |
| 105 | 105 | ||
| 106 | .if ("${clib}" == "libressl" || "${slib}" == "libressl") | ||
| 106 | REGRESS_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib} | 107 | REGRESS_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib} |
| 108 | .else | ||
| 109 | REGRESS_SLOW_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib} | ||
| 110 | .endif | ||
| 107 | run-cipher-${cipher}-client-${clib}-server-${slib} \ | 111 | run-cipher-${cipher}-client-${clib}-server-${slib} \ |
| 108 | client-cipher-${cipher}-client-${clib}-server-${slib}.out \ | 112 | client-cipher-${cipher}-client-${clib}-server-${slib}.out \ |
| 109 | server-cipher-${cipher}-client-${clib}-server-${slib}.out: dh.param \ | 113 | server-cipher-${cipher}-client-${clib}-server-${slib}.out: dh.param \ |
| @@ -122,7 +126,11 @@ server-cipher-${cipher}-client-${clib}-server-${slib}.out: dh.param \ | |||
| 122 | { sleep 1; grep -q '^success$$' ${@:S/^run/server/}.out; } | 126 | { sleep 1; grep -q '^success$$' ${@:S/^run/server/}.out; } |
| 123 | grep -q '^success$$' ${@:S/^run/client/}.out | 127 | grep -q '^success$$' ${@:S/^run/client/}.out |
| 124 | 128 | ||
| 129 | .if ("${clib}" == "libressl" || "${slib}" == "libressl") | ||
| 125 | REGRESS_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib} | 130 | REGRESS_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib} |
| 131 | .else | ||
| 132 | REGRESS_SLOW_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib} | ||
| 133 | .endif | ||
| 126 | check-cipher-${cipher}-client-${clib}-server-${slib}: \ | 134 | check-cipher-${cipher}-client-${clib}-server-${slib}: \ |
| 127 | client-cipher-${cipher}-client-${clib}-server-${slib}.out \ | 135 | client-cipher-${cipher}-client-${clib}-server-${slib}.out \ |
| 128 | server-cipher-${cipher}-client-${clib}-server-${slib}.out | 136 | server-cipher-${cipher}-client-${clib}-server-${slib}.out |
diff --git a/src/regress/lib/libssl/interop/version/Makefile b/src/regress/lib/libssl/interop/version/Makefile index 0f1d891f34..420b236421 100644 --- a/src/regress/lib/libssl/interop/version/Makefile +++ b/src/regress/lib/libssl/interop/version/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2020/09/14 00:51:04 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.2 2020/09/21 15:13:24 beck Exp $ |
| 2 | 2 | ||
| 3 | # Connect a client to a server. Both can be current libressl, or | 3 | # Connect a client to a server. Both can be current libressl, or |
| 4 | # openssl 1.0.2, or openssl 1.1. Pin client or server to a fixed TLS | 4 | # openssl 1.0.2, or openssl 1.1. Pin client or server to a fixed TLS |
| @@ -31,7 +31,11 @@ FAIL_${cver}_${sver} = ! | |||
| 31 | .if ("${clib}" != openssl && "${slib}" != openssl) || \ | 31 | .if ("${clib}" != openssl && "${slib}" != openssl) || \ |
| 32 | ("${cver}" != TLS1_3 && "${sver}" != TLS1_3) | 32 | ("${cver}" != TLS1_3 && "${sver}" != TLS1_3) |
| 33 | 33 | ||
| 34 | .if ("${clib}" == "libressl" || "${slib}" == "libressl") | ||
| 34 | REGRESS_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver} | 35 | REGRESS_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver} |
| 36 | .else | ||
| 37 | REGRESS_SLOW_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver} | ||
| 38 | .endif | ||
| 35 | 39 | ||
| 36 | run-version-client-${clib}-${cver}-server-${slib}-${sver} \ | 40 | run-version-client-${clib}-${cver}-server-${slib}-${sver} \ |
| 37 | client-version-client-${clib}-${cver}-server-${slib}-${sver}.out \ | 41 | client-version-client-${clib}-${cver}-server-${slib}-${sver}.out \ |
| @@ -56,7 +60,11 @@ server-version-client-${clib}-${cver}-server-${slib}-${sver}.out: \ | |||
| 56 | 60 | ||
| 57 | .if empty(${FAIL_${cver}_${sver}}) | 61 | .if empty(${FAIL_${cver}_${sver}}) |
| 58 | 62 | ||
| 63 | .if ("${clib}" == "libressl" || "${slib}" == "libressl") | ||
| 59 | REGRESS_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver} | 64 | REGRESS_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver} |
| 65 | .else | ||
| 66 | REGRESS_SLOW_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver} | ||
| 67 | .endif | ||
| 60 | 68 | ||
| 61 | check-version-client-${clib}-${cver}-server-${slib}-${sver}: \ | 69 | check-version-client-${clib}-${cver}-server-${slib}-${sver}: \ |
| 62 | client-version-client-${clib}-${cver}-server-${slib}-${sver}.out \ | 70 | client-version-client-${clib}-${cver}-server-${slib}-${sver}.out \ |
