diff options
author | Richard Levitte <levitte@openssl.org> | 2015-11-02 16:48:53 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-11-02 17:36:49 +0100 |
commit | 009e9d99a325992096b6112c16b190e47fd1d166 (patch) | |
tree | b939fc8bb26fb446a0c771a02d31bcd6b38cc1be /include | |
parent | 2443030466c3715a9c48770022df72dab7acbb51 (diff) |
Remove the state parameter from BIO_ctrl_set_connected
The actual implementation has the state of the connection being
controlled with the peer parameter, non-NULL meaning connected and
NULL meaning connected.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 6f099313ba..09a95100c6 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -589,8 +589,8 @@ int BIO_ctrl_reset_read_request(BIO *b); /* ctrl macros for dgram */ # define BIO_ctrl_dgram_connect(b,peer) \ (int)BIO_ctrl(b,BIO_CTRL_DGRAM_CONNECT,0, (char *)peer) -# define BIO_ctrl_set_connected(b, state, peer) \ - (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_CONNECTED, state, (char *)peer) +# define BIO_ctrl_set_connected(b,peer) \ + (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_CONNECTED, 0, (char *)peer) # define BIO_dgram_recv_timedout(b) \ (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP, 0, NULL) # define BIO_dgram_send_timedout(b) \ |