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:42:21 +0000 (19:42 +0100)
commit295f3a24919157e2f9021d0b1709353710ad63db
tree61b904636cd9951c2b271d9e5f9b65fc11e886be
parent3cd3f0024bd432f5396979757a5cf075cc0955d2
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>
crypto/x509/x_name.c