From: Lutz Jänicke Date: Mon, 21 Jan 2002 17:58:53 +0000 (+0000) Subject: Fix incorrect BIO_*_ctrl() macros (Shay Harding ). X-Git-Tag: OpenSSL_0_9_6d-beta1~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=348c9e5985ad63a110c60ffa8b6015c344500a41;p=oweals%2Fopenssl.git Fix incorrect BIO_*_ctrl() macros (Shay Harding ). --- diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 3777f2866b..fd3aaa0585 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -356,8 +356,8 @@ typedef struct bio_f_buffer_ctx_struct #define BIO_set_conn_int_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,3,(char *)port) #define BIO_get_conn_hostname(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0) #define BIO_get_conn_port(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1) -#define BIO_get_conn_ip(b,ip) BIO_ptr_ctrl(b,BIO_C_SET_CONNECT,2) -#define BIO_get_conn_int_port(b,port) BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,port) +#define BIO_get_conn_ip(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2) +#define BIO_get_conn_int_port(b) BIO_int_ctrl(b,BIO_C_GET_CONNECT,3) #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL)