mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
BIO_s_dgram_pair: Correct implementation of BIO_CTRL_DGRAM_GET_LOCAL_ADDR_ENABLE
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21715)
This commit is contained in:
parent
1bd35edc66
commit
c20b78d599
@ -695,7 +695,7 @@ static long dgram_mem_ctrl(BIO *bio, int cmd, long num, void *ptr)
|
||||
|
||||
/* BIO_dgram_get_local_addr_enable */
|
||||
case BIO_CTRL_DGRAM_GET_LOCAL_ADDR_ENABLE: /* Non-threadsafe */
|
||||
ret = (long)dgram_pair_ctrl_get_local_addr_enable(bio);
|
||||
*(int *)ptr = (long)dgram_pair_ctrl_get_local_addr_enable(bio);
|
||||
break;
|
||||
|
||||
/* BIO_dgram_set_local_addr_enable */
|
||||
|
Loading…
Reference in New Issue
Block a user