-# $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
WARNINGS= Yes
CFLAGS+= -DLIBRESSL_INTERNAL -Werror
+CFLAGS+= -I${.CURDIR}/../../../../lib/libssl
.include <bsd.regress.mk>
-/* $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 <jsing@openbsd.org>
*
#include <openssl/ssl.h>
#include <openssl/tls1.h>
+#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);