Witch states has a longer border with Mexico Texas or New Mexico?

Texas is the largest by far.