Influence of the boundary resistivity on the proximity effect