diff options
| author | tb <> | 2022-11-23 07:25:01 +0000 |
|---|---|---|
| committer | tb <> | 2022-11-23 07:25:01 +0000 |
| commit | f54caa00e9be78370f230646bcffb34f8177b476 (patch) | |
| tree | 38bd265776646efe801e216ed08dfe727f2567a6 | |
| parent | ad3f01cde5a2fe28510a79f07da8d3cad85fc07c (diff) | |
| download | openbsd-f54caa00e9be78370f230646bcffb34f8177b476.tar.gz openbsd-f54caa00e9be78370f230646bcffb34f8177b476.tar.bz2 openbsd-f54caa00e9be78370f230646bcffb34f8177b476.zip | |
Fix inconsequential copy-paste error
CID 377010
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libcrypto/evp/evp_ecx_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/evp/evp_ecx_test.c b/src/regress/lib/libcrypto/evp/evp_ecx_test.c index c035f11b54..e847d8de06 100644 --- a/src/regress/lib/libcrypto/evp/evp_ecx_test.c +++ b/src/regress/lib/libcrypto/evp/evp_ecx_test.c | |||
| @@ -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 $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -725,7 +725,7 @@ ecx_x25519_raw_key_test(void) | |||
| 725 | if (pub_key_len != sizeof(x25519_raw_pub_key_1)) { | 725 | if (pub_key_len != sizeof(x25519_raw_pub_key_1)) { |
| 726 | fprintf(stderr, "FAIL: raw public key length differs " | 726 | fprintf(stderr, "FAIL: raw public key length differs " |
| 727 | "(%zu != %zu)\n", pub_key_len, | 727 | "(%zu != %zu)\n", pub_key_len, |
| 728 | sizeof(x25519_raw_pub_key_2)); | 728 | sizeof(x25519_raw_pub_key_1)); |
| 729 | goto failure; | 729 | goto failure; |
| 730 | } | 730 | } |
| 731 | if ((pub_key = malloc(pub_key_len)) == NULL) | 731 | if ((pub_key = malloc(pub_key_len)) == NULL) |
| @@ -739,7 +739,7 @@ ecx_x25519_raw_key_test(void) | |||
| 739 | fprintf(stderr, "Got:\n"); | 739 | fprintf(stderr, "Got:\n"); |
| 740 | hexdump(pub_key, pub_key_len); | 740 | hexdump(pub_key, pub_key_len); |
| 741 | fprintf(stderr, "Want:\n"); | 741 | 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)); |
| 743 | goto failure; | 743 | goto failure; |
| 744 | } | 744 | } |
| 745 | 745 | ||
