Remove dummy argument from BIO_get_bind_mode
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
@@ -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_accept_bios(BIO *b, char *bio);
|
||||||
|
|
||||||
long BIO_set_bind_mode(BIO *b, long mode);
|
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_NORMAL 0
|
||||||
#define BIO_BIND_REUSEADDR_IF_UNUSED 1
|
#define BIO_BIND_REUSEADDR_IF_UNUSED 1
|
||||||
|
@@ -481,7 +481,7 @@ struct bio_dgram_sctp_prinfo {
|
|||||||
# define BIO_BIND_REUSEADDR_IF_UNUSED 1
|
# define BIO_BIND_REUSEADDR_IF_UNUSED 1
|
||||||
# define BIO_BIND_REUSEADDR 2
|
# define BIO_BIND_REUSEADDR 2
|
||||||
# define BIO_set_bind_mode(b,mode) BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)
|
# 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_connect(b) BIO_do_handshake(b)
|
||||||
# define BIO_do_accept(b) BIO_do_handshake(b)
|
# define BIO_do_accept(b) BIO_do_handshake(b)
|
||||||
|
Reference in New Issue
Block a user