On 20/11/2020 13:46, Narayana, Sunil Kumar wrote: > Hi , > > We are porting our Application from openssl 1.0.1 to > openssl 3.0. In related to this activity we require to access the > variable ‘*num*’ of structure *bio_st. * > > In older versions the variable was accessed to set and get value using > pointer operator (bi->num ). > > Since this is not allowed in 3.0 we are looking for the Get/Set > utilities similar to other member*(BIO_set_flags/ BIO_get_flags) * > > > > Is this not supported in 3.0 ? If yes, Please guide the proper alternatives. What kind of BIO are you using? Different BIOs may provide different mechanisms to get hold of this value. For example a number of file descriptor based BIOs provide BIO_get_fd(). Matt