X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fssl%2FSSL_CTX_set_tlsext_ticket_key_cb.pod;h=b660b21a9a48913f0b7acf7e78bbfa2a61312554;hp=e8b973f238739bba3e2ce817ab19a98bd3eea650;hb=c1e350577fe14e3e124cc258f742cb77a14b6ce8;hpb=a528d4f0a9a71405f3ca06e20cbd27aa1b8c0df9 diff --git a/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod b/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod index e8b973f238..b660b21a9a 100644 --- a/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod +++ b/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod @@ -49,11 +49,12 @@ I, and set the cipher context I and the hash context I. The I is 16 characters long and is used as a key identifier. The I length is the length of the IV of the corresponding cipher. The -maximum IV length is L bytes defined in B. +maximum IV length is B bytes defined in B. The initialization vector I should be a random value. The cipher context I should use the initialisation vector I. The cipher context can be -set using L. The hmac context can be set using L. +set using L. The hmac context can be set using +L. When the client presents a session ticket, the callback function with be called with I set to 0 indicating that the I function should retrieve a set @@ -61,8 +62,8 @@ of parameters. In this case I and I have already been parsed out of the session ticket. The OpenSSL library expects that the I will be used to retrieve a cryptographic parameters and that the cryptographic context I will be set with the retrieved parameters and the initialization vector -I. using a function like L. The I needs to be set -using L. +I. using a function like L. The I needs to be +set using L. If the I is still valid but a renewal of the ticket is required the callback function should return 2. The library will call the callback again