Permalink
Browse files

Disable tls tickets using multiple host sharing session.

  • Loading branch information...
1 parent f91cdf3 commit 8a997c4660ed73147b3293ed072ea91772673211 Emeric committed Nov 7, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 stud.c
View
3 stud.c
@@ -605,6 +605,9 @@ static SSL_CTX * init_openssl() {
exit(1);
}
+ /* Force tls tickets cause keys differs */
+ SSL_CTX_set_options(ctx, SSL_OP_NO_TICKET);
+
if (*shcupd_peers) {
shsess_set_new_cbk(shcupd_session_new);
}

0 comments on commit 8a997c4

Please sign in to comment.