diff options
author | David Benjamin <davidben@google.com> | 2016-03-19 12:32:14 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-21 16:49:10 -0400 |
commit | 04f6b0fd9110c85c3c0d6d1172005d1c6755ac86 (patch) | |
tree | 3ce2eb3e6743161c6753a5344424a8fe72a0d97e /doc/crypto/BIO_s_fd.pod | |
parent | 52d86d9b8da9916acf337126a9ced850cb5ab2d3 (diff) |
RT4660: BIO_METHODs should be const.
BIO_new, etc., don't need a non-const BIO_METHOD. This allows all the
built-in method tables to live in .rodata.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'doc/crypto/BIO_s_fd.pod')
-rw-r--r-- | doc/crypto/BIO_s_fd.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/crypto/BIO_s_fd.pod b/doc/crypto/BIO_s_fd.pod index 2f6b033f0a..7c7cee9843 100644 --- a/doc/crypto/BIO_s_fd.pod +++ b/doc/crypto/BIO_s_fd.pod @@ -8,7 +8,7 @@ BIO_s_fd, BIO_set_fd, BIO_get_fd, BIO_new_fd - file descriptor BIO #include <openssl/bio.h> - BIO_METHOD * BIO_s_fd(void); + const BIO_METHOD * BIO_s_fd(void); #define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd) #define BIO_get_fd(b,c) BIO_ctrl(b,BIO_C_GET_FD,0,(char *)c) |