What is the church’s view on older adults getting married who can’t have children?

Marriages must be open to pro-creation and to unity in the Catholic Church. So since women can’t bear children past a certain age most people…