From: Viktor Dukhovni Date: Sat, 19 Mar 2016 02:09:41 +0000 (-0400) Subject: Move peer chain security checks into x509_vfy.c X-Git-Tag: OpenSSL_1_1_0-pre5~154 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=fbb82a60dcbe820714a246ab3e7617eaf3a7b656;hp=fbb82a60dcbe820714a246ab3e7617eaf3a7b656;ds=sidebyside Move peer chain security checks into x509_vfy.c A new X509_VERIFY_PARAM_set_auth_level() function sets the authentication security level. For verification of SSL peers, this is automatically set from the SSL security level. Otherwise, for now, the authentication security level remains at (effectively) 0 by default. The new "-auth_level" verify(1) option is available in all the command-line tools that support the standard verify(1) options. New verify(1) tests added to check enforcement of chain signature and public key security levels. Also added new tests of enforcement of the verify_depth limit. Updated documentation. Reviewed-by: Dr. Stephen Henson ---