On 26/11/2020 17:32, Narayana, Sunil Kumar wrote:
> Error2 : error: invalid use of incomplete type 'SSL' {aka 'struct
> ssl_st'} ssl->d1->mtu = MAX_SEND_PKT_SIZE;
Use SSL_set_mtu(ssl, MAX_SEND_PKT_SIZE) instead.
Matt
There is no direct replacement for the MHAC call at this point, EVP_MAC needs
to be used. I’d suggest reading the EVP_MAC(3) man page. There is an example
down the bottom.
Does SSL_set_mtu() do what you require?
Pauli
--
Dr Paul Dale | Distinguished Architect | Cryptographic Foundations
Ph