[PATCH 5.10 06/43] X.509: Fix crash caused by NULL pointer