Add a TODO around validating the ticket age
authorMatt Caswell <matt@openssl.org>
Fri, 27 Jan 2017 15:18:51 +0000 (15:18 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:25 +0000 (10:18 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)

ssl/statem/extensions_srvr.c

index 41dd5b6..df1e6c2 100644 (file)
@@ -711,6 +711,8 @@ int tls_parse_ctos_psk(SSL *s, PACKET *pkt, X509 *x, size_t chainidx, int *al)
             return 0;
         }
 
             return 0;
         }
 
+        /* TODO(TLS1.3): Should we validate the ticket age? */
+
         ret = tls_decrypt_ticket(s, PACKET_data(&identity),
                                  PACKET_remaining(&identity), NULL, 0, &sess);
         if (ret == TICKET_FATAL_ERR_MALLOC || ret == TICKET_FATAL_ERR_OTHER) {
         ret = tls_decrypt_ticket(s, PACKET_data(&identity),
                                  PACKET_remaining(&identity), NULL, 0, &sess);
         if (ret == TICKET_FATAL_ERR_MALLOC || ret == TICKET_FATAL_ERR_OTHER) {