Skip to content

Commit cf26762

Browse files
author
tb
committed
Fix inconsequential copy-paste error
CID 377010
1 parent a03704f commit cf26762

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/regress/lib/libcrypto/evp/evp_ecx_test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: evp_ecx_test.c,v 1.2 2022/11/22 20:04:51 tb Exp $ */
1+
/* $OpenBSD: evp_ecx_test.c,v 1.3 2022/11/23 07:25:01 tb Exp $ */
22
/*
33
* Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
44
*
@@ -725,7 +725,7 @@ ecx_x25519_raw_key_test(void)
725725
if (pub_key_len != sizeof(x25519_raw_pub_key_1)) {
726726
fprintf(stderr, "FAIL: raw public key length differs "
727727
"(%zu != %zu)\n", pub_key_len,
728-
sizeof(x25519_raw_pub_key_2));
728+
sizeof(x25519_raw_pub_key_1));
729729
goto failure;
730730
}
731731
if ((pub_key = malloc(pub_key_len)) == NULL)
@@ -739,7 +739,7 @@ ecx_x25519_raw_key_test(void)
739739
fprintf(stderr, "Got:\n");
740740
hexdump(pub_key, pub_key_len);
741741
fprintf(stderr, "Want:\n");
742-
hexdump(x25519_raw_pub_key_2, sizeof(x25519_raw_pub_key_2));
742+
hexdump(x25519_raw_pub_key_1, sizeof(x25519_raw_pub_key_1));
743743
goto failure;
744744
}
745745

0 commit comments

Comments
 (0)