Refactor (without semantic changes) crypto/x509/{v3_purp.c,x509_vfy.c}
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 23 Dec 2019 16:37:17 +0000 (17:37 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Wed, 1 Jul 2020 09:14:54 +0000 (11:14 +0200)
commit023697870bcd4372a142a606546253d719a81024
tree93c511280830104d1fb4a8319294560a81c7dd98
parentade08735f9d0ac85d611c5abee8a1df651bbca13
Refactor (without semantic changes) crypto/x509/{v3_purp.c,x509_vfy.c}

This prepares some corrections and improves readability (coding style).
Among others, it adds the static function check_sig_alg_match() and
the internal functions x509_likely_issued() and x509_signing_allowed().

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10587)
crypto/x509/v3_purp.c
crypto/x509/x509_local.h
crypto/x509/x509_txt.c
crypto/x509/x509_vfy.c
include/openssl/x509_vfy.h