Skip to content

Commit ab80773

Browse files
authored
Fix sample code in README
1 parent dd27c12 commit ab80773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The server replies with the `serverPublicKey` and the salt value associated with
3737

3838
The client then creates the shared secret using the username, password, salt, its own key pair and the server public key. It then has to generate a proof it has the shared secret. This proof is generated from shared secret plus any of the public data available.
3939
```swift
40-
let sharedSecret = try client.calculateSharedSecret(
40+
let clientSharedSecret = try client.calculateSharedSecret(
4141
username: username,
4242
password: password,
4343
salt: salt,

0 commit comments

Comments
 (0)