summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2018-05-30 00:23:04 +0000
committertb <>2018-05-30 00:23:04 +0000
commit404620984af378ba4d050f61e4216c4e72f62f8b (patch)
tree814ed62063ff21a384142de872598d0baf677d1e /src/lib/libcrypto/bio/bio.h
parente0129afbf70b6a10e2a50fb9fd4e1f76ed4c3c82 (diff)
downloadopenbsd-404620984af378ba4d050f61e4216c4e72f62f8b.tar.gz
openbsd-404620984af378ba4d050f61e4216c4e72f62f8b.tar.bz2
openbsd-404620984af378ba4d050f61e4216c4e72f62f8b.zip
Add a const qualifier to the return value of BIO_s_file().
tested in a bulk build by sthen ok bcook, jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 105d3ff3af..2847d3729e 100644
--- a/src/lib/libcrypto/bio/bio.h
+++ b/src/lib/libcrypto/bio/bio.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio.h,v 1.43 2018/05/12 18:51:59 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.44 2018/05/30 00:23:04 tb 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 *
@@ -597,7 +597,7 @@ BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
597asn1_ps_func **psuffix_free); 597asn1_ps_func **psuffix_free);
598 598
599int BIO_get_new_index(void); 599int BIO_get_new_index(void);
600BIO_METHOD *BIO_s_file(void ); 600const BIO_METHOD *BIO_s_file(void);
601BIO *BIO_new_file(const char *filename, const char *mode); 601BIO *BIO_new_file(const char *filename, const char *mode);
602BIO *BIO_new_fp(FILE *stream, int close_flag); 602BIO *BIO_new_fp(FILE *stream, int close_flag);
603# define BIO_s_file_internal BIO_s_file 603# define BIO_s_file_internal BIO_s_file