summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-11-01 15:47:41 +0100
committerRichard Levitte <levitte@openssl.org>2015-11-02 17:36:49 +0100
commit8976eb249aa4aae8c5c7a6f59a512cd22d2a9b8e (patch)
tree6b003cdb308fb220cfc1b1b6b58d2aaf65b70ecc
parent0e474b8b6f328a4fadca7f4689e13d60f1d90515 (diff)
Remove dummy argument from BIO_get_bind_mode
Reviewed-by: Andy Polyakov <appro@openssl.org>
-rw-r--r--doc/crypto/BIO_s_accept.pod2
-rw-r--r--include/openssl/bio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/BIO_s_accept.pod b/doc/crypto/BIO_s_accept.pod
index 80a83485ad..87d24a89dc 100644
--- a/doc/crypto/BIO_s_accept.pod
+++ b/doc/crypto/BIO_s_accept.pod
@@ -21,7 +21,7 @@ BIO_get_bind_mode, BIO_do_accept - accept BIO
long BIO_set_accept_bios(BIO *b, char *bio);
long BIO_set_bind_mode(BIO *b, long mode);
- long BIO_get_bind_mode(BIO *b, long dummy);
+ long BIO_get_bind_mode(BIO *b);
#define BIO_BIND_NORMAL 0
#define BIO_BIND_REUSEADDR_IF_UNUSED 1
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index 5090fc3b5a..e4f4e47658 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -481,7 +481,7 @@ struct bio_dgram_sctp_prinfo {
# define BIO_BIND_REUSEADDR_IF_UNUSED 1
# define BIO_BIND_REUSEADDR 2
# define BIO_set_bind_mode(b,mode) BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)
-# define BIO_get_bind_mode(b,mode) BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)
+# define BIO_get_bind_mode(b) BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)
# define BIO_do_connect(b) BIO_do_handshake(b)
# define BIO_do_accept(b) BIO_do_handshake(b)