diff options
Diffstat (limited to 'src/regress/lib/libcrypto/bn/bn_mod_sqrt.c')
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c index 7ab7905136..345ab4cb61 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.10 2023/04/11 10:10:52 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.11 2024/08/23 12:56:26 anton Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> |
@@ -2865,7 +2865,7 @@ mod_sqrt_test(struct mod_sqrt_test *test, BN_CTX *ctx) | |||
2865 | if (!BN_hex2bn(&want, test->sqrt)) | 2865 | if (!BN_hex2bn(&want, test->sqrt)) |
2866 | errx(1, "BN_hex2bn(%s)", test->sqrt); | 2866 | errx(1, "BN_hex2bn(%s)", test->sqrt); |
2867 | if (!BN_mod_sub(diff, want, got, p, ctx)) | 2867 | if (!BN_mod_sub(diff, want, got, p, ctx)) |
2868 | errx(1, "BN_mod_sub() failed\n"); | 2868 | errx(1, "BN_mod_sub() failed"); |
2869 | 2869 | ||
2870 | if (!BN_is_zero(diff)) { | 2870 | if (!BN_is_zero(diff)) { |
2871 | fprintf(stderr, "a: %s\n", test->a); | 2871 | fprintf(stderr, "a: %s\n", test->a); |