[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
#define of BIOerr and BUFerr  is deprecated in openssl3.0 

# ifndef OPENSSL_NO_DEPRECATED_3_0
 #define BIOerr(f, r) ERR_raise_data(ERR_LIB_BIO, (r), NULL)
 # define BUFerr(f, r) ERR_raise_data(ERR_LIB_BUF, (r), NULL)
#endif

The BIOerr and BUFerr are used in the code something like below 

BIOerr(BIO_F_BIO_NEW_MEM_BUF, BIO_R_NULL_PARAMETER);
BIOerr(BIO_F_MEM_WRITE, BIO_R_NULL_PARAMETER);
BIOerr(BIO_F_MEM_WRITE, BIO_R_WRITE_TO_READ_ONLY_BIO);
BIOerr(BIO_F_MEM_WRITE, BIO_R_NULL_PARAMETER);

 BUFerr(BUF_F_BUF_MEM_NEW, ERR_R_MALLOC_FAILURE);
 BUFerr(BUF_F_BUF_MEM_GROW, ERR_R_MALLOC_FAILURE);
 BUFerr(BUF_F_BUF_MEM_GROW_CLEAN, ERR_R_MALLOC_FAILURE);


Now im trying to replace with  
void ERR_raise(int lib, int reason);

But how do i manage "f" paramater  which is highlighted in #define

please suggest,

thanks,
shiva kumar



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux