http://code.google.com/p/selene-tls/source/detail?r=c6fa0d099fdb
Modified:
/lib/parser/handshake_io.c
=======================================
--- /lib/parser/handshake_io.c Sat Jul 9 13:23:26 2011
+++ /lib/parser/handshake_io.c Sun Aug 14 15:36:18 2011
@@ -51,7 +51,7 @@
ch.session_id_len = 0;
ch.ciphers = &s->conf->ciphers;
- ch.server_name = sln_strdup(s, s->client_sni);
+ ch.server_name = s->client_sni;
ch.have_npn = 0;
ch.have_ocsp_stapling = 0;
SELENE_ERR(sln_handshake_serialize_client_hello(s, &ch, &bhs));