diff options
author | jsing <> | 2021-10-15 16:49:12 +0000 |
---|---|---|
committer | jsing <> | 2021-10-15 16:49:12 +0000 |
commit | 2f485ea9309901fbcf267b8c0311420ec1f3f269 (patch) | |
tree | f9b9f8f89b2ce8cffd6c44fd0b952adef288d10a | |
parent | 18d6ce4a991ce71cfcdc91336fb45476fa746ce0 (diff) | |
download | openbsd-2f485ea9309901fbcf267b8c0311420ec1f3f269.tar.gz openbsd-2f485ea9309901fbcf267b8c0311420ec1f3f269.tar.bz2 openbsd-2f485ea9309901fbcf267b8c0311420ec1f3f269.zip |
Pull in ssl_locl.h so that we can keep reaching into libssl internals.
-rw-r--r-- | src/regress/lib/libssl/ssl/Makefile | 3 | ||||
-rw-r--r-- | src/regress/lib/libssl/ssl/ssltest.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/ssl/Makefile b/src/regress/lib/libssl/ssl/Makefile index 581341c310..582dd1c8af 100644 --- a/src/regress/lib/libssl/ssl/Makefile +++ b/src/regress/lib/libssl/ssl/Makefile | |||
@@ -1,10 +1,11 @@ | |||
1 | # $OpenBSD: Makefile,v 1.3 2014/07/08 15:53:53 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2021/10/15 16:49:12 jsing Exp $ |
2 | 2 | ||
3 | PROG= ssltest | 3 | PROG= ssltest |
4 | LDADD= -lcrypto -lssl | 4 | LDADD= -lcrypto -lssl |
5 | DPADD= ${LIBCRYPTO} ${LIBSSL} | 5 | DPADD= ${LIBCRYPTO} ${LIBSSL} |
6 | WARNINGS= Yes | 6 | WARNINGS= Yes |
7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror | 7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror |
8 | CFLAGS+= -I${.CURDIR}/../../../../lib/libssl | ||
8 | 9 | ||
9 | REGRESS_TARGETS=regress-ssltest | 10 | REGRESS_TARGETS=regress-ssltest |
10 | 11 | ||
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index ba62bb6e70..f5203b0713 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c | |||
@@ -176,6 +176,8 @@ | |||
176 | #include <openssl/dh.h> | 176 | #include <openssl/dh.h> |
177 | #include <openssl/bn.h> | 177 | #include <openssl/bn.h> |
178 | 178 | ||
179 | #include "ssl_locl.h" | ||
180 | |||
179 | #define TEST_SERVER_CERT "../apps/server.pem" | 181 | #define TEST_SERVER_CERT "../apps/server.pem" |
180 | #define TEST_CLIENT_CERT "../apps/client.pem" | 182 | #define TEST_CLIENT_CERT "../apps/client.pem" |
181 | 183 | ||