mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 19:27:12 +09:00
Got bob and alice mixed up on box.c:87
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ box(void)
|
||||
|
||||
/* encrypt the message */
|
||||
printf("Encrypting with %s\n\n", crypto_box_primitive());
|
||||
crypto_box_easy(c, m, mlen, n, bob_pk, alice_sk);
|
||||
crypto_box_easy(c, m, mlen, n, alice_pk, bob_sk);
|
||||
|
||||
/* sent message */
|
||||
puts("Bob sending message...\n");
|
||||
|
||||
Reference in New Issue
Block a user