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

Rahul Shukla <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <CAKcoO8SpqBhXaPb3vMfYYgA9AAEh_RkT=00UA+QaGF8zmkUE3g@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.