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/s3_lib.c | |
parent | 8831eb7624992ded000310586c99cf6f226a6e19 (diff) |
TLS ticket key setting callback: this allows and application to set
its own TLS ticket keys.
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 06e454c96b..bdbcd44f27 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -2255,6 +2255,13 @@ long ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)(void)) ctx->tlsext_status_cb=(int (*)(SSL *,void *))fp; break; + case SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB: + ctx->tlsext_ticket_key_cb=(int (*)(SSL *,unsigned char *, + unsigned char *, + EVP_CIPHER_CTX *, + HMAC_CTX *, int))fp; + break; + #endif default: return(0); |