]> granicus.if.org Git - openssl/commit
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>
Mon, 2 Nov 2015 16:36:49 +0000 (17:36 +0100)
commit4b72d5f80cd6f63329aa45936d84093c19e609d0
tree7622896956c8eb6ed7db21fedf368207087c8932
parentf89ee71bc81017e04ac50f570d8aed87f495bcf2
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: Andy Polyakov <appro@openssl.org>
crypto/bio/bss_conn.c
include/openssl/bio.h