From d0f43669a52c03e742d057eb68e647758c94799f Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 30 Jun 2021 18:09:46 +0000 Subject: Pull in ssl_locl.h to allow for move of struct ssl_session_st. --- src/regress/lib/libssl/asn1/Makefile | 3 ++- src/regress/lib/libssl/asn1/asn1test.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/regress/lib/libssl/asn1/Makefile b/src/regress/lib/libssl/asn1/Makefile index f4a57933e2..16fca9f6ca 100644 --- a/src/regress/lib/libssl/asn1/Makefile +++ b/src/regress/lib/libssl/asn1/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2014/07/13 16:03:54 jsing Exp $ +# $OpenBSD: Makefile,v 1.2 2021/06/30 18:09:46 jsing Exp $ PROG= asn1test LDADD= -lcrypto -lssl @@ -6,5 +6,6 @@ DPADD= ${LIBCRYPTO} ${LIBSSL} WARNINGS= Yes CFLAGS+= -DLIBRESSL_INTERNAL -Werror +CFLAGS+= -I${.CURDIR}/../../../../lib/libssl .include diff --git a/src/regress/lib/libssl/asn1/asn1test.c b/src/regress/lib/libssl/asn1/asn1test.c index 13f3d10673..18a9713878 100644 --- a/src/regress/lib/libssl/asn1/asn1test.c +++ b/src/regress/lib/libssl/asn1/asn1test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1test.c,v 1.7 2021/03/22 20:05:21 tb Exp $ */ +/* $OpenBSD: asn1test.c,v 1.8 2021/06/30 18:09:46 jsing Exp $ */ /* * Copyright (c) 2014, 2016 Joel Sing * @@ -23,6 +23,8 @@ #include #include +#include "ssl_locl.h" + int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length); -- cgit v1.2.3-55-g6feb