diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-04-30 16:11:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-04-30 16:11:33 +0000 |
commit | db533c96e35ccdb8f97f0e5e98ab9db9c4938ca1 (patch) | |
tree | c1f1d11c3ad840a17626e453cec54c5e10cf970d /ssl/tls1.h | |
parent | 8831eb7624992ded000310586c99cf6f226a6e19 (diff) |
TLS ticket key setting callback: this allows and application to set
its own TLS ticket keys.
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r-- | ssl/tls1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h index 7c3b6a8a85..2d1d293e1a 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -179,6 +179,9 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb) #define SSL_CTX_set_tlsext_status_arg(ssl, arg) \ SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg) +#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \ +SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) + #endif /* Additional TLS ciphersuites from draft-ietf-tls-56-bit-ciphersuites-00.txt |