Only check the parent to be canonical once we know it is non-NULL.
authortb <tb@openbsd.org>
Tue, 4 Jan 2022 20:33:02 +0000 (20:33 +0000)
committertb <tb@openbsd.org>
Tue, 4 Jan 2022 20:33:02 +0000 (20:33 +0000)
commit598f4af5e2c76af3bfaac0773866dd497b14d962
treea97d79b7d05189a753c941cf9c67cbb628356a9c
parent406a7a7b328b52294a7957ab861913d07831178d
Only check the parent to be canonical once we know it is non-NULL.

suggested by jsing during review
lib/libcrypto/x509/x509_addr.c