diff options
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libssl/interop/libressl/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/interop/libressl/Makefile b/src/regress/lib/libssl/interop/libressl/Makefile index 5fce6c5c22..19557ffbc1 100644 --- a/src/regress/lib/libssl/interop/libressl/Makefile +++ b/src/regress/lib/libssl/interop/libressl/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.2 2018/11/07 06:29:26 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2018/11/07 20:46:28 bluhm Exp $ |
2 | 2 | ||
3 | PROGS = client server | 3 | PROGS = client server |
4 | CPPFLAGS = | 4 | CPPFLAGS = |
@@ -7,6 +7,12 @@ LDADD = -lssl -lcrypto | |||
7 | DPADD = ${LIBSSL} ${LIBCRYPTO} | 7 | DPADD = ${LIBSSL} ${LIBCRYPTO} |
8 | LD_LIBRARY_PATH = | 8 | LD_LIBRARY_PATH = |
9 | 9 | ||
10 | run-protocol-self-client run-protocol-self-server \ | ||
11 | run-protocol-nc-client run-protocol-nc-server: | ||
12 | @echo '\n======== $@ ========' | ||
13 | # LibreSSL does not support TLS 1.3 yet | ||
14 | @echo DISABLED | ||
15 | |||
10 | .for p in ${PROGS} | 16 | .for p in ${PROGS} |
11 | run-ldd-$p: ldd-$p.out | 17 | run-ldd-$p: ldd-$p.out |
12 | @echo '\n======== $@ ========' | 18 | @echo '\n======== $@ ========' |
@@ -15,11 +21,18 @@ run-ldd-$p: ldd-$p.out | |||
15 | grep -q /usr/lib/libssl.so ldd-$p.out | 21 | grep -q /usr/lib/libssl.so ldd-$p.out |
16 | # check that $p is not linked with OpenSSL | 22 | # check that $p is not linked with OpenSSL |
17 | ! grep /usr/local/lib/ ldd-$p.out | 23 | ! grep /usr/local/lib/ ldd-$p.out |
24 | .endfor | ||
18 | 25 | ||
19 | run-version-$p: $p.out | 26 | .for o in nc-client nc-server self-client self-server |
27 | run-version-$o: $o.out | ||
20 | @echo '\n======== $@ ========' | 28 | @echo '\n======== $@ ========' |
21 | # check that runtime version is LibreSSL | 29 | # check that runtime version is LibreSSL |
22 | grep 'SSLEAY_VERSION: LibreSSL' $p.out | 30 | grep 'SSLEAY_VERSION: LibreSSL' $o.out |
31 | |||
32 | run-protocol-$o: $o.out | ||
33 | @echo '\n======== $@ ========' | ||
34 | # check that protocol version is TLS 1.3 | ||
35 | grep 'Protocol *: TLSv1.3' $o.out | ||
23 | .endfor | 36 | .endfor |
24 | 37 | ||
25 | .include <bsd.regress.mk> | 38 | .include <bsd.regress.mk> |