Fix error return value in SRP functions