Have BIO_get_conn_int_port use BIO_ctrl instead BIO_int_ctrl
authorRichard Levitte <levitte@openssl.org>
Sun, 1 Nov 2015 14:42:04 +0000 (15:42 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Dec 2015 21:07:42 +0000 (22:07 +0100)
commit2a60fccdd9b696e01fddaa268e92ea210beb0e8f
tree8812cc31acb84961c4c991f9d2ed4ee327247e32
parentf6cadeeeede13239127a2b58970124f4c1f3c217
Have BIO_get_conn_int_port use BIO_ctrl instead BIO_int_ctrl

BIO_int_ctrl isn't made for the purpose BIO_get_conn_int_port used it
for.

This also changes BIO_C_GET_CONNECT to actually return the port
instead of assigning it to a pointer that was never returned back to
the caller.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/bio.h
crypto/bio/bss_conn.c