summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/asn1basic.c
diff options
context:
space:
mode:
authortb <>2022-01-12 07:55:25 +0000
committertb <>2022-01-12 07:55:25 +0000
commitfe60c07846510e4d801467805985ed8c862b2c0b (patch)
tree1f6c1351097f09b504ef9e85ea245aab9c76377a /src/regress/lib/libcrypto/asn1/asn1basic.c
parentbd9b4a9f58f42bdba4b137c5a9130742df5daf02 (diff)
downloadopenbsd-fe60c07846510e4d801467805985ed8c862b2c0b.tar.gz
openbsd-fe60c07846510e4d801467805985ed8c862b2c0b.tar.bz2
openbsd-fe60c07846510e4d801467805985ed8c862b2c0b.zip
Rework Makefile to use regress framework and link asn1basic statically.
It will need this for testing {d2i,i2d}_ASN1_BOOLEAN which will be moved to internal-only in the upcoming bump.
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/asn1basic.c')
-rw-r--r--src/regress/lib/libcrypto/asn1/asn1basic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1basic.c b/src/regress/lib/libcrypto/asn1/asn1basic.c
index c879ee6329..6b3c72f975 100644
--- a/src/regress/lib/libcrypto/asn1/asn1basic.c
+++ b/src/regress/lib/libcrypto/asn1/asn1basic.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1basic.c,v 1.3 2022/01/06 15:21:33 jsing Exp $ */ 1/* $OpenBSD: asn1basic.c,v 1.4 2022/01/12 07:55:25 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -21,6 +21,8 @@
21#include <stdio.h> 21#include <stdio.h>
22#include <string.h> 22#include <string.h>
23 23
24#include "asn1_locl.h"
25
24static void 26static void
25hexdump(const unsigned char *buf, size_t len) 27hexdump(const unsigned char *buf, size_t len)
26{ 28{