summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/asn1/a_bitstr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-11 08:44:47 +0000
committerjsing <jsing@openbsd.org>2014-07-11 08:44:47 +0000
commitb6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90 (patch)
tree732b2a0b08456ceb9bb211abdcc82bbe057fff19 /lib/libcrypto/asn1/a_bitstr.c
parentAdd a small note about LibReSSL at the start of this. (diff)
downloadwireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.tar.xz
wireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.zip
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
Diffstat (limited to 'lib/libcrypto/asn1/a_bitstr.c')
-rw-r--r--lib/libcrypto/asn1/a_bitstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/a_bitstr.c b/lib/libcrypto/asn1/a_bitstr.c
index a90eadef289..473a945e099 100644
--- a/lib/libcrypto/asn1/a_bitstr.c
+++ b/lib/libcrypto/asn1/a_bitstr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: a_bitstr.c,v 1.19 2014/07/10 13:58:22 jsing Exp $ */
+/* $OpenBSD: a_bitstr.c,v 1.20 2014/07/11 08:44:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -59,8 +59,8 @@
#include <stdio.h>
#include <string.h>
-#include "cryptlib.h"
#include <openssl/asn1.h>
+#include <openssl/err.h>
int
ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len)