diff options
author | tb <> | 2023-03-27 10:25:02 +0000 |
---|---|---|
committer | tb <> | 2023-03-27 10:25:02 +0000 |
commit | f01ccc7c36ff1a6f9eaa959f859f2fe82c336039 (patch) | |
tree | ba91913b4904177f237fb62457d06d7234e7ad69 /src/lib/libcrypto/dsa/dsa_gen.c | |
parent | 00aea13536dd9c7115e084e54260c208dfdfb18a (diff) | |
download | openbsd-f01ccc7c36ff1a6f9eaa959f859f2fe82c336039.tar.gz openbsd-f01ccc7c36ff1a6f9eaa959f859f2fe82c336039.tar.bz2 openbsd-f01ccc7c36ff1a6f9eaa959f859f2fe82c336039.zip |
Replace the remaining BN_copy() with bn_copy()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_gen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_gen.c b/src/lib/libcrypto/dsa/dsa_gen.c index 1f91894100..49b4561494 100644 --- a/src/lib/libcrypto/dsa/dsa_gen.c +++ b/src/lib/libcrypto/dsa/dsa_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_gen.c,v 1.27 2023/01/11 04:39:42 jsing Exp $ */ | 1 | /* $OpenBSD: dsa_gen.c,v 1.28 2023/03/27 10:25:02 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -264,7 +264,7 @@ dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, const EVP_MD *evpmd, | |||
264 | /* more of step 8 */ | 264 | /* more of step 8 */ |
265 | if (!BN_mask_bits(W, bits - 1)) | 265 | if (!BN_mask_bits(W, bits - 1)) |
266 | goto err; | 266 | goto err; |
267 | if (!BN_copy(X, W)) | 267 | if (!bn_copy(X, W)) |
268 | goto err; | 268 | goto err; |
269 | if (!BN_add(X, X, test)) | 269 | if (!BN_add(X, X, test)) |
270 | goto err; | 270 | goto err; |