X509 build_chain(): Make the variable 'curr' local to the loop body
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 4 Mar 2021 16:35:46 +0000 (17:35 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 19 May 2021 18:14:55 +0000 (20:14 +0200)
commitfc48b5c825352f519538ed26f2caa8aeca8b9ba0
tree03c2b655072ccde09d790e512aa10fef4e31eca2
parente2abc685b70bc7d6525d4c1aab9e031b1986ddd8
X509 build_chain(): Make the variable 'curr' local to the loop body

This increases readability and maintainability.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14422)
crypto/x509/x509_vfy.c