Remove dummy argument from BIO_get_bind_mode
authorRichard Levitte <levitte@openssl.org>
Sun, 1 Nov 2015 14:47:41 +0000 (15:47 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 2 Nov 2015 16:36:49 +0000 (17:36 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
doc/crypto/BIO_s_accept.pod
include/openssl/bio.h

index 80a83485ad0983f60bddd672b5586d4754c3dcbe..87d24a89dc30551d876e7300bf6f8f966e81bdce 100644 (file)
@@ -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
index 5090fc3b5aa5eac5bc1b0ddd487716d36dda73b9..e4f4e47658b9c6f2a1e80e5101c9432739e4d6dc 100644 (file)
@@ -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)