summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_file.c')
-rw-r--r--src/lib/libcrypto/bio/bss_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c
index 70a85220e4..44345f3c70 100644
--- a/src/lib/libcrypto/bio/bss_file.c
+++ b/src/lib/libcrypto/bio/bss_file.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_file.c,v 1.28 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: bss_file.c,v 1.29 2014/07/10 13:58:22 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -83,13 +83,14 @@
83#endif 83#endif
84#endif 84#endif
85 85
86#include <stdio.h>
87#include <errno.h> 86#include <errno.h>
87#include <stdio.h>
88#include <string.h>
89
88#include "cryptlib.h" 90#include "cryptlib.h"
89#include <openssl/bio.h> 91#include <openssl/bio.h>
90#include <openssl/err.h> 92#include <openssl/err.h>
91 93
92
93static int file_write(BIO *h, const char *buf, int num); 94static int file_write(BIO *h, const char *buf, int num);
94static int file_read(BIO *h, char *buf, int size); 95static int file_read(BIO *h, char *buf, int size);
95static int file_puts(BIO *h, const char *str); 96static int file_puts(BIO *h, const char *str);