summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer/buf_str.c
diff options
context:
space:
mode:
authorjsing <>2014-07-11 08:44:49 +0000
committerjsing <>2014-07-11 08:44:49 +0000
commit8c3482db610348be15fb633bb52b0511c2cabbcf (patch)
tree0e726f9e971e00f4c8cd8afab71589803fc11b7f /src/lib/libcrypto/buffer/buf_str.c
parenta336cdb63c1fe5d934826147bf5c19d317ced73b (diff)
downloadopenbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.gz
openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.bz2
openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.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 'src/lib/libcrypto/buffer/buf_str.c')
-rw-r--r--src/lib/libcrypto/buffer/buf_str.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/buffer/buf_str.c b/src/lib/libcrypto/buffer/buf_str.c
index 33836d0af4..f7e4c0b966 100644
--- a/src/lib/libcrypto/buffer/buf_str.c
+++ b/src/lib/libcrypto/buffer/buf_str.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: buf_str.c,v 1.8 2014/04/26 13:07:16 jsing Exp $ */ 1/* $OpenBSD: buf_str.c,v 1.9 2014/07/11 08:44:48 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Bob Beck 3 * Copyright (c) 2014 Bob Beck
4 * 4 *
@@ -18,8 +18,9 @@
18#include <stdlib.h> 18#include <stdlib.h>
19#include <stdio.h> 19#include <stdio.h>
20#include <string.h> 20#include <string.h>
21#include "cryptlib.h" 21
22#include <openssl/buffer.h> 22#include <openssl/buffer.h>
23#include <openssl/err.h>
23 24
24/* 25/*
25 * XXX these functions accept a NULL arg and return NULL 26 * XXX these functions accept a NULL arg and return NULL