A finite transformation formula involving the Legendre symbol is proved, from which the value of Salié's sum Σx=1 p-1 ( x p) e2πik(x+x)p can be deduced immediately.