Skip to content
  1. Feb 24, 2015
  2. Feb 22, 2015
  3. Feb 21, 2015
  4. Feb 19, 2015
  5. Feb 14, 2015
  6. Feb 13, 2015
  7. Feb 12, 2015
  8. Feb 11, 2015
  9. Feb 10, 2015
    • Matt Caswell's avatar
      Add SSL_SESSION_get0_ticket API function. · b7c9187b
      Matt Caswell authored
      
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      b7c9187b
    • Matt Caswell's avatar
      Correct reading back of tlsext_tick_lifetime_hint from ASN1. · ea6bd264
      Matt Caswell authored
      
      
      When writing out the hint, if the hint > 0, then we write it out otherwise
      we skip it.
      
      Previously when reading the hint back in, if were expecting to see one
      (because the ticket length > 0), but it wasn't present then we set the hint
      to -1, otherwise we set it to 0. This fails to set the hint to the same as
      when it was written out.
      
      The hint should never be negative because the RFC states the hint is
      unsigned. It is valid for a server to set the hint to 0 (this means the
      lifetime is unspecified according to the RFC). If the server set it to 0, it
      should still be 0 when we read it back in.
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      ea6bd264