Skip to content

Instantly share code, notes, and snippets.

@roxlu roxlu/ Secret
Created Oct 30, 2012

What would you like to do?
OpenSSL (asynchronous) flow
  • setup SSL context

  • create socket

  • setup memory bios

  • connect to server

  • on connected, call SSL_connect(ssl)

    • copy handshake data to from ssl to buffer using: BIO_read(write_bio, tmp_buf, 1024);
    • send this data to the server
  • ?? when the server replies, ... what do we do with the data ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.