Github user jpeach commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1024#discussion_r82049092
  
    --- Diff: iocore/net/SSLUtils.cc ---
    @@ -2159,7 +2123,7 @@ ssl_callback_session_ticket(SSL *ssl, unsigned char 
*keyname, unsigned char *iv,
       ssl_ticket_key_block *keyblock = NULL;
       if (cc == NULL || cc->keyblock == NULL) {
         // Try the default
    -    keyblock = global_default_keyblock;
    +    keyblock = params->default_global_keyblock;
    --- End diff --
    
    OK, so as long as ``ssl_callback_session_ticket`` is called just once 
before the SSL config is destroyed we are OK. I'd feel more comfortable if 
there was a way to remove the keyblock from the SSL context after use so that 
we have less chance of a dangling pointer.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to