Add size limit to X509_NAME structure.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 28 Apr 2016 11:55:29 +0000 (12:55 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 29 Apr 2016 18:45:52 +0000 (19:45 +0100)
commit65cb92f4da37a3895437f0c9940ee0bcf9f28c8a
treeada41f67a0ca52f0e4c20668836a20ebbda5b132
parent4436299296cc10c6d6611b066b4b73dc0bdae1a6
Add size limit to X509_NAME structure.

This adds an explicit limit to the size of an X509_NAME structure. Some
part of OpenSSL (e.g. TLS) already effectively limit the size due to
restrictions on certificate size.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 295f3a24919157e2f9021d0b1709353710ad63db)
crypto/asn1/x_name.c