summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2018-05-12 17:47:53 +0000
committertb <>2018-05-12 17:47:53 +0000
commitd179dae307ac7f37cfdcb0967d16dd7186146e55 (patch)
tree9640075a182e16820fe72579b61fa8385d40e591 /src/lib/libcrypto/bio/bio.h
parent4472f3d68a4cfdda378061fd79bb5cfbb348752d (diff)
downloadopenbsd-d179dae307ac7f37cfdcb0967d16dd7186146e55.tar.gz
openbsd-d179dae307ac7f37cfdcb0967d16dd7186146e55.tar.bz2
openbsd-d179dae307ac7f37cfdcb0967d16dd7186146e55.zip
Add const qualifiers to the return values of BIO_s_mem() and
BIO_s_datagram(). ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 8a473ca20a..678155c34e 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.41 2018/05/01 13:29:09 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.42 2018/05/12 17:47:53 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 *
@@ -641,7 +641,7 @@ int BIO_nwrite(BIO *bio, char **buf, int num);
641long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, 641long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi,
642 long argl, long ret); 642 long argl, long ret);
643 643
644BIO_METHOD *BIO_s_mem(void); 644const BIO_METHOD *BIO_s_mem(void);
645BIO *BIO_new_mem_buf(void *buf, int len); 645BIO *BIO_new_mem_buf(void *buf, int len);
646const BIO_METHOD *BIO_s_socket(void); 646const BIO_METHOD *BIO_s_socket(void);
647const BIO_METHOD *BIO_s_connect(void); 647const BIO_METHOD *BIO_s_connect(void);
@@ -654,7 +654,7 @@ const BIO_METHOD *BIO_f_null(void);
654const BIO_METHOD *BIO_f_buffer(void); 654const BIO_METHOD *BIO_f_buffer(void);
655const BIO_METHOD *BIO_f_nbio_test(void); 655const BIO_METHOD *BIO_f_nbio_test(void);
656#ifndef OPENSSL_NO_DGRAM 656#ifndef OPENSSL_NO_DGRAM
657BIO_METHOD *BIO_s_datagram(void); 657const BIO_METHOD *BIO_s_datagram(void);
658#endif 658#endif
659 659
660/* BIO_METHOD *BIO_f_ber(void); */ 660/* BIO_METHOD *BIO_f_ber(void); */