Upgrade subject to access all content

Suppose that an odd prime $p$ can be written as a sum of two squares. What is $\left(\frac {-1}p\right)$?

$1$

$-1$

$0$