KeyStore: Fix the return value when send() or recv() has an error.

Change-Id: I20a63c76bd29b1a9f8959a6c4fe5a5b8a9a971b4
1 file changed