Skip to content

Instantly share code, notes, and snippets.

@errzey
Created November 18, 2010 03:43
Show Gist options
  • Save errzey/704594 to your computer and use it in GitHub Desktop.
Save errzey/704594 to your computer and use it in GitHub Desktop.
int ssl3_get_client_hello(SSL *s) {
/* bunch of crap here */
/* remember, ssl_get_prev_session properly locks s->session */
i = ssl_get_prev_session(s, p, j, d + n);
if (i == 1) { /* previous session */
s->hit=1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment