[gnutls-devel] GnuTLS | resumption: keep persistent session identifiers (!721)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Aug 7 06:47:37 CEST 2018
Nikos Mavrogiannopoulos commented on a discussion on src/serv.c:
> - snprintf(tmp_buffer, tmp_buffer_size, "\n<p>Session ID: <i>");
> - for (i = 0; i < sesid_size; i++)
> - snprintf(tmp_buffer, tmp_buffer_size, "%.2X", sesid[i]);
> - snprintf(tmp_buffer, tmp_buffer_size, "</i></p>\n");
> - snprintf(tmp_buffer, tmp_buffer_size,
> - "<h5>If your browser supports session resuming, then you should see the "
> - "same session ID, when you press the <b>reload</b> button.</h5>\n");
> - }
> + sesid_size = sizeof(sesid);
> + gnutls_session_get_id(session, sesid, &sesid_size);
> + snprintf(tmp_buffer, tmp_buffer_size, "\n<p>Session ID: <i>");
> + for (i = 0; i < sesid_size; i++)
> + snprintf(tmp_buffer, tmp_buffer_size, "%.2X", sesid[i]);
> + snprintf(tmp_buffer, tmp_buffer_size, "</i></p>\n");
> + snprintf(tmp_buffer, tmp_buffer_size,
> + "<h5>If your browser supports session resuming, then you should see the "
No, rephrased. Thank you.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/721#note_92859179
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180807/5ac70e08/attachment.html>
More information about the Gnutls-devel
mailing list