From: jsing Date: Wed, 30 Jun 2021 18:09:46 +0000 (+0000) Subject: Pull in ssl_locl.h to allow for move of struct ssl_session_st. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8d969e1f9db1f24f324c07af40a87ca880081173;p=openbsd Pull in ssl_locl.h to allow for move of struct ssl_session_st. --- diff --git a/regress/lib/libssl/asn1/Makefile b/regress/lib/libssl/asn1/Makefile index f4a57933e2e..16fca9f6ca0 100644 --- a/regress/lib/libssl/asn1/Makefile +++ b/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/regress/lib/libssl/asn1/asn1test.c b/regress/lib/libssl/asn1/asn1test.c index 13f3d106739..18a97138788 100644 --- a/regress/lib/libssl/asn1/asn1test.c +++ b/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);