Got bob and alice mixed up on box.c:87

This commit is contained in:
GraxRabble
2014-09-24 20:11:50 -04:00
parent 15ab5f6bf2
commit 2d8c08b01b
+1 -1
View File
@@ -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");