OpenSSL SSL_write how to clear buffer

Discussion in 'C Programming' started by xenovas, Apr 1, 2019.

  1. xenovas


    Apr 1, 2019
    Likes Received:
    Hi ,

    im facing a problem clearing the ssl buffer when using ssl_read/write from OpenSSL lib. To be more specific if i use SSL_wriite() sequentially then the buffer appends the data sent through the socket to the server program where eventually the SSL_read() reads also previous data. Is there a way to clear the buffer between writes ?
    xenovas, Apr 1, 2019
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.