diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-08-28 03:08:45 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-08-28 03:08:45 +0200 |
commit | 94d511cdbd4b12d36e26a9b8f482e5e54c6c227a (patch) | |
tree | 1ca8c19c2b3b5462cbf6b16d410315d91a22048f /ssl/tls1.h | |
parent | Add Google sponsorship note. (diff) | |
download | openssl-94d511cdbd4b12d36e26a9b8f482e5e54c6c227a.tar.xz openssl-94d511cdbd4b12d36e26a9b8f482e5e54c6c227a.zip |
Add ctrls to set and get RFC4507bis keys to enable several contexts to
reuse the same tickets.
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r-- | ssl/tls1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h index e166bcb1fc..bf802d9e14 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -230,6 +230,11 @@ SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb) #define SSL_CTX_set_tlsext_servername_arg(ctx, arg) \ SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0, (void *)arg) + +#define SSL_CTX_get_tlsext_ticket_keys(ctx, keys, keylen) \ + SSL_CTX_ctrl((ctx),SSL_CTRL_GET_TLXEXT_TICKET_KEYS,(keylen),(keys)) +#define SSL_CTX_set_tlsext_ticket_keys(ctx, keys, keylen) \ + SSL_CTX_ctrl((ctx),SSL_CTRL_SET_TLXEXT_TICKET_KEYS,(keylen),(keys)) #endif /* PSK ciphersuites from 4279 */ |