diff options
author | Tom Vrancken <dev@tomvrancken.nl> | 2018-05-21 09:44:16 +0200 |
---|---|---|
committer | Tom Vrancken <dev@tomvrancken.nl> | 2018-05-23 10:20:09 +0200 |
commit | 464eb38498a70a8c4a4387f98cc0ae19587567b4 (patch) | |
tree | cd0e9aed9ce217ae40f22bc8491f9f8918618496 | |
parent | 4d4ce950f2b51879c2f87df90a9bff33bfcb2180 (diff) | |
download | gnutls-464eb38498a70a8c4a4387f98cc0ae19587567b4.tar.gz |
Removed section about Heartbleed.
Referenced new functions _gnutls_hello_ext_set_datum / _gnutls_hello_ext_get_datum for manipulation extension data.
Signed-off-by: Tom Vrancken <dev@tomvrancken.nl>
-rw-r--r-- | doc/cha-internals.texi | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/doc/cha-internals.texi b/doc/cha-internals.texi index 5c9e770c40..1dcfcb7570 100644 --- a/doc/cha-internals.texi +++ b/doc/cha-internals.texi @@ -280,8 +280,8 @@ other error codes from the list in @ref{Error codes}. Return 0 on success. An extension typically stores private information in the @code{session} data for later usage. That can be done using the functions -@funcintref{_gnutls_hello_ext_set_priv} and -@funcintref{_gnutls_hello_ext_get_priv}. You can check simple examples +@funcintref{_gnutls_hello_ext_set_datum} and +@funcintref{_gnutls_hello_ext_get_datum}. You can check simple examples at @code{lib/ext/@-max_@-record.c} and @code{lib/ext/@-server_@-name.c} extensions. That private information can be saved and restored across session resumption if the following functions are set: @@ -349,33 +349,6 @@ When writing GTK-DOC style documentation for your new APIs, don't forget to add @code{Since:} tags to indicate the GnuTLS version the API was introduced in. -@subsubheading Heartbeat extension. -%REMARK: do we need this section? -One such extension is HeartBeat protocol (RFC6520: -@url{https://tools.ietf.org/html/rfc6520}) implementation. To enable -it use option --heartbeat with example client and server supplied with -gnutls: - -@example -./doc/credentials/gnutls-http-serv --priority "NORMAL:-CIPHER-ALL:+NULL" -d 100 \ - --heartbeat --echo -./src/gnutls-cli --priority "NORMAL:-CIPHER-ALL:+NULL" -d 100 localhost -p 5556 \ - --insecure --heartbeat -@end example - -After that pasting -@example -**HEARTBEAT** -@end example -command into gnutls-cli will trigger corresponding command on the server and it will send HeartBeat Request with random length to client. - -Another way is to run capabilities check with: - -@example -./doc/credentials/gnutls-http-serv -d 100 --heartbeat -./src/gnutls-cli-debug localhost -p 5556 -@end example - @subheading Adding a new Supplemental Data Handshake Message TLS handshake extensions allow to send so called supplemental data |