summaryrefslogtreecommitdiff
path: root/lib/libtls/tls_bio_cb.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-09-04 13:17:09 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-09-04 13:17:09 +0000
commitdd83e51ef9c734130f32769c8c3026fb8cbd97d8 (patch)
tree22a8516c0454bcae42705943e3e32604e9667eec /lib/libtls/tls_bio_cb.c
parent5e81251ce40aa917c3921216c2a49a3b9b58f1e2 (diff)
Sort headers and use the installed tls.h, rather than the local one.
Diffstat (limited to 'lib/libtls/tls_bio_cb.c')
-rw-r--r--lib/libtls/tls_bio_cb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libtls/tls_bio_cb.c b/lib/libtls/tls_bio_cb.c
index cee37a86d85..e689cf1117f 100644
--- a/lib/libtls/tls_bio_cb.c
+++ b/lib/libtls/tls_bio_cb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_bio_cb.c,v 1.2 2016/09/04 12:54:33 jsing Exp $ */
+/* $OpenBSD: tls_bio_cb.c,v 1.3 2016/09/04 13:17:08 jsing Exp $ */
/*
* Copyright (c) 2016 Tobias Pape <tobias@netshed.de>
*
@@ -15,15 +15,15 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
-#include <fcntl.h>
-
-#include "tls.h"
-#include "tls_internal.h"
#include <openssl/bio.h>
+#include <tls.h>
+#include "tls_internal.h"
+
static int write_cb(BIO *b, const char *buf, int num);
static int read_cb(BIO *b, char *buf, int size);
static int puts_cb(BIO *b, const char *str);