diff options
author | tb <> | 2018-05-12 17:47:53 +0000 |
---|---|---|
committer | tb <> | 2018-05-12 17:47:53 +0000 |
commit | d179dae307ac7f37cfdcb0967d16dd7186146e55 (patch) | |
tree | 9640075a182e16820fe72579b61fa8385d40e591 /src/lib/libcrypto/bio/bio.h | |
parent | 4472f3d68a4cfdda378061fd79bb5cfbb348752d (diff) | |
download | openbsd-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.h | 6 |
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); | |||
641 | long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, | 641 | long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, |
642 | long argl, long ret); | 642 | long argl, long ret); |
643 | 643 | ||
644 | BIO_METHOD *BIO_s_mem(void); | 644 | const BIO_METHOD *BIO_s_mem(void); |
645 | BIO *BIO_new_mem_buf(void *buf, int len); | 645 | BIO *BIO_new_mem_buf(void *buf, int len); |
646 | const BIO_METHOD *BIO_s_socket(void); | 646 | const BIO_METHOD *BIO_s_socket(void); |
647 | const BIO_METHOD *BIO_s_connect(void); | 647 | const BIO_METHOD *BIO_s_connect(void); |
@@ -654,7 +654,7 @@ const BIO_METHOD *BIO_f_null(void); | |||
654 | const BIO_METHOD *BIO_f_buffer(void); | 654 | const BIO_METHOD *BIO_f_buffer(void); |
655 | const BIO_METHOD *BIO_f_nbio_test(void); | 655 | const BIO_METHOD *BIO_f_nbio_test(void); |
656 | #ifndef OPENSSL_NO_DGRAM | 656 | #ifndef OPENSSL_NO_DGRAM |
657 | BIO_METHOD *BIO_s_datagram(void); | 657 | const 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); */ |