Update from stable branch.
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 00bc1b3..6844a43 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -2770,6 +2770,13 @@
 		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);