SSL_peek() removes the session ticket from the underlying BIO ??

Rahul Shukla srahul.292919 at gmail.com
Thu May 2 05:19:54 UTC 2024


Hi All,
As per the OpenSSL doc :

*"SSL_peek_ex() and SSL_peek() are identical to SSL_read_ex() and
SSL_read() respectively except no bytes are actually removed from the
underlying BIO during the read, so that a subsequent call to SSL_read_ex()
or SSL_read() will yield at least the same bytes."*

*I have a quick question here, Does SSL_peek() remove the session ticket
(Non application data) from the underlying BIO or will it remain there just
like application data until unless SSL_read() is called to read the session
ticket. *


--Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240502/034952e8/attachment.htm>


More information about the openssl-users mailing list