diff options
| author | jsing <> | 2022-01-05 09:59:39 +0000 |
|---|---|---|
| committer | jsing <> | 2022-01-05 09:59:39 +0000 |
| commit | e2cb230afcf1e1e09acf7e7bfd7355706130d384 (patch) | |
| tree | b51d84957dee135214613b5328ddbc210a6eab16 /src/regress/lib/libssl/api/Makefile | |
| parent | e25aaf946bf33ed70ad397f6ac3e7d96eb2e0a4c (diff) | |
| download | openbsd-e2cb230afcf1e1e09acf7e7bfd7355706130d384.tar.gz openbsd-e2cb230afcf1e1e09acf7e7bfd7355706130d384.tar.bz2 openbsd-e2cb230afcf1e1e09acf7e7bfd7355706130d384.zip | |
Provide regress for SSL public APIs.
This will largely test curly and inconsistent APIs that are not covered by
other regress tests. Currently, this tests the wonder that is
SSL_get_peer_cert_chain().
Diffstat (limited to 'src/regress/lib/libssl/api/Makefile')
| -rw-r--r-- | src/regress/lib/libssl/api/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/api/Makefile b/src/regress/lib/libssl/api/Makefile new file mode 100644 index 0000000000..0989fc2264 --- /dev/null +++ b/src/regress/lib/libssl/api/Makefile | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2022/01/05 09:59:39 jsing Exp $ | ||
| 2 | |||
| 3 | PROG= apitest | ||
| 4 | LDADD= -lssl -lcrypto | ||
| 5 | DPADD= ${LIBSSL} ${LIBCRYPTO} | ||
| 6 | WARNINGS= Yes | ||
| 7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror | ||
| 8 | |||
| 9 | REGRESS_TARGETS= \ | ||
| 10 | regress-apitest | ||
| 11 | |||
| 12 | regress-apitest: ${PROG} | ||
| 13 | ./apitest \ | ||
| 14 | ${.CURDIR}/../../libssl/certs | ||
| 15 | |||
| 16 | .include <bsd.regress.mk> | ||
