The analysis of the recent neutral-current elastic neutrino and antineutrino-nucleus scattering cross sections measured by the MiniBooNE Collaboration requires relativistic theoretical descriptions also accounting for the role of final-state interactions. In this work we investigate the sensitivity to final-state interactions and compare the MiniBooNE data with the results obtained in the relativistic Greens function model with different parameterizations for the phenomenological relativistic optical potential.