diff options
| author | cvs2svn <admin@example.com> | 2019-11-19 19:57:05 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2019-11-19 19:57:05 +0000 |
| commit | e9f9eb6198f1757b7c0dfef043fadf1fa8243022 (patch) | |
| tree | b5a648f6ccaf6c1cd9915ddb45503d1fccfeba0e /src/regress/lib/libssl/interop/session | |
| parent | ab72e3a6f7e8d5c71bbba034410468781d5923b6 (diff) | |
| download | openbsd-bluhm_20191119.tar.gz openbsd-bluhm_20191119.tar.bz2 openbsd-bluhm_20191119.zip | |
This commit was manufactured by cvs2git to create tag 'bluhm_20191119'.bluhm_20191119
Diffstat (limited to 'src/regress/lib/libssl/interop/session')
| -rw-r--r-- | src/regress/lib/libssl/interop/session/Makefile | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/regress/lib/libssl/interop/session/Makefile b/src/regress/lib/libssl/interop/session/Makefile deleted file mode 100644 index c82440d785..0000000000 --- a/src/regress/lib/libssl/interop/session/Makefile +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.3 2018/11/11 07:39:35 bluhm Exp $ | ||
| 2 | |||
| 3 | LIBRARIES = libressl | ||
| 4 | .if exists(/usr/local/bin/eopenssl) | ||
| 5 | LIBRARIES += openssl | ||
| 6 | .endif | ||
| 7 | .if exists(/usr/local/bin/eopenssl11) | ||
| 8 | LIBRARIES += openssl11 | ||
| 9 | .endif | ||
| 10 | |||
| 11 | run-session-client-openssl11-server-openssl11: | ||
| 12 | @echo '\n======== $@ ========' | ||
| 13 | # TLS 1.3 needs some extra setup for session reuse | ||
| 14 | @echo DISABLED | ||
| 15 | |||
| 16 | .for clib in ${LIBRARIES} | ||
| 17 | .for slib in ${LIBRARIES} | ||
| 18 | |||
| 19 | REGRESS_TARGETS += run-session-client-${clib}-server-${slib} | ||
| 20 | |||
| 21 | run-session-client-${clib}-server-${slib}: \ | ||
| 22 | 127.0.0.1.crt ../${clib}/client ../${slib}/server | ||
| 23 | @echo '\n======== $@ ========' | ||
| 24 | LD_LIBRARY_PATH=/usr/local/lib/e${slib} \ | ||
| 25 | ../${slib}/server >${@:S/^run/server/}.out \ | ||
| 26 | -ss \ | ||
| 27 | 127.0.0.1 0 | ||
| 28 | LD_LIBRARY_PATH=/usr/local/lib/e${clib} \ | ||
| 29 | ../${clib}/client >${@:S/^run/client/}.out \ | ||
| 30 | -ss \ | ||
| 31 | `sed -n 's/listen sock: //p' ${@:S/^run/server/}.out` | ||
| 32 | grep '^success$$' ${@:S/^run/server/}.out || \ | ||
| 33 | { sleep 1; grep '^success$$' ${@:S/^run/server/}.out; } | ||
| 34 | grep '^success$$' ${@:S/^run/client/}.out | ||
| 35 | grep '^session 2: new$$' ${@:S/^run/server/}.out | ||
| 36 | grep '^session 2: new$$' ${@:S/^run/client/}.out | ||
| 37 | grep '^session 1: reuse$$' ${@:S/^run/server/}.out | ||
| 38 | grep '^session 1: reuse$$' ${@:S/^run/client/}.out | ||
| 39 | grep '^session 0: reuse$$' ${@:S/^run/server/}.out | ||
| 40 | grep '^session 0: reuse$$' ${@:S/^run/client/}.out | ||
| 41 | |||
| 42 | .endfor | ||
| 43 | .endfor | ||
| 44 | |||
| 45 | .include <bsd.regress.mk> | ||
