From 7b9b7e83784ed23189cb74bfd860067c69da6866 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Fri, 15 Feb 2019 08:29:49 +0100 Subject: [PATCH] Documentation typo --- doc/man/man3/crypto_x25519.3monocypher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3