diff options
-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 | ||