From: Loup Vaillant Date: Fri, 15 Feb 2019 07:29:49 +0000 (+0100) Subject: Documentation typo X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=7b9b7e83784ed23189cb74bfd860067c69da6866;p=Monocypher.git Documentation typo --- diff --git a/doc/man/man3/crypto_x25519.3monocypher b/doc/man/man3/crypto_x25519.3monocypher index 4b29f4a..ad6c35e 100644 --- a/doc/man/man3/crypto_x25519.3monocypher +++ b/doc/man/man3/crypto_x25519.3monocypher @@ -85,7 +85,7 @@ key. const uint8_t their_pk [32]; /* Their public key */ const uint8_t your_sk [32]; /* Your secret key */ uint8_t shared_secret[32]; /* Shared secret (NOT a key) */ -crypto_x25519(shared_secret, your_sk, their_pk; +crypto_x25519(shared_secret, your_sk, their_pk); /* Wipe secrets if they are no longer needed */ crypto_wipe(your_sk, 32);