Fix infinite loop when client_CA_list is NULL