Ignore the status_request extension in a resumption handshake
[openssl.git] / ssl / statem / extensions_srvr.c
index 90142eb5051977cbc328b36f2d10b31d658551d6..adf63d80bf66c41c7e7b4f895e7c6b24c9b6ca06 100644 (file)
@@ -324,6 +324,10 @@ int tls_parse_ctos_status_request(SSL *s, PACKET *pkt, unsigned int context,
 {
     PACKET responder_id_list, exts;
 
+    /* We ignore this in a resumption handshake */
+    if (s->hit)
+        return 1;
+
     /* Not defined if we get one of these in a client Certificate */
     if (x != NULL)
         return 1;