Pull in ssl_locl.h so that we can keep reaching into libssl internals.
authorjsing <jsing@openbsd.org>
Fri, 15 Oct 2021 16:49:12 +0000 (16:49 +0000)
committerjsing <jsing@openbsd.org>
Fri, 15 Oct 2021 16:49:12 +0000 (16:49 +0000)
regress/lib/libssl/ssl/Makefile
regress/lib/libssl/ssl/ssltest.c

index 581341c..582dd1c 100644 (file)
@@ -1,10 +1,11 @@
-#      $OpenBSD: Makefile,v 1.3 2014/07/08 15:53:53 jsing Exp $
+#      $OpenBSD: Makefile,v 1.4 2021/10/15 16:49:12 jsing Exp $
 
 PROG=  ssltest
 LDADD= -lcrypto -lssl
 DPADD= ${LIBCRYPTO} ${LIBSSL}
 WARNINGS=      Yes
 CFLAGS+=       -DLIBRESSL_INTERNAL -Werror
+CFLAGS+=       -I${.CURDIR}/../../../../lib/libssl
 
 REGRESS_TARGETS=regress-ssltest
 
index ba62bb6..f5203b0 100644 (file)
 #include <openssl/dh.h>
 #include <openssl/bn.h>
 
+#include "ssl_locl.h"
+
 #define TEST_SERVER_CERT "../apps/server.pem"
 #define TEST_CLIENT_CERT "../apps/client.pem"