]> git.codecow.com Git - Monocypher.git/commitdiff
Documentation typo
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 15 Feb 2019 07:29:49 +0000 (08:29 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 15 Feb 2019 07:29:49 +0000 (08:29 +0100)
doc/man/man3/crypto_x25519.3monocypher

index 4b29f4aefe989453658e072caa92b6e31ab283ba..ad6c35eade3ebd064afaf12a4caf2f8583e4eec7 100644 (file)
@@ -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);