[PATCH 4.15 12/64] X.509: fix NULL dereference when restricting key with unsupported_sig