diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bn/bn.h | 8 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/bn_ctx.c | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index 53b109bd8a..fae8df5d90 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn.h,v 1.62 2023/04/19 10:51:22 jsing Exp $ */ | 1 | /* $OpenBSD: bn.h,v 1.63 2023/04/25 16:41:29 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -341,12 +341,6 @@ void BN_zero_ex(BIGNUM *a); | |||
| 341 | const BIGNUM *BN_value_one(void); | 341 | const BIGNUM *BN_value_one(void); |
| 342 | char * BN_options(void); | 342 | char * BN_options(void); |
| 343 | BN_CTX *BN_CTX_new(void); | 343 | BN_CTX *BN_CTX_new(void); |
| 344 | #ifndef OPENSSL_NO_DEPRECATED | ||
| 345 | /* Remove in next major bump. */ | ||
| 346 | #if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) | ||
| 347 | void BN_CTX_init(BN_CTX *c); | ||
| 348 | #endif | ||
| 349 | #endif | ||
| 350 | void BN_CTX_free(BN_CTX *c); | 344 | void BN_CTX_free(BN_CTX *c); |
| 351 | void BN_CTX_start(BN_CTX *ctx); | 345 | void BN_CTX_start(BN_CTX *ctx); |
| 352 | BIGNUM *BN_CTX_get(BN_CTX *ctx); | 346 | BIGNUM *BN_CTX_get(BN_CTX *ctx); |
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c index 5b05e01878..357eda1783 100644 --- a/src/lib/libcrypto/bn/bn_ctx.c +++ b/src/lib/libcrypto/bn/bn_ctx.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_ctx.c,v 1.20 2023/01/14 15:23:27 jsing Exp $ */ | 1 | /* $OpenBSD: bn_ctx.c,v 1.21 2023/04/25 16:41:29 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -72,12 +72,6 @@ BN_CTX_new(void) | |||
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void | 74 | void |
| 75 | BN_CTX_init(BN_CTX *bctx) | ||
| 76 | { | ||
| 77 | memset(bctx, 0, sizeof(*bctx)); | ||
| 78 | } | ||
| 79 | |||
| 80 | void | ||
| 81 | BN_CTX_free(BN_CTX *bctx) | 75 | BN_CTX_free(BN_CTX *bctx) |
| 82 | { | 76 | { |
| 83 | size_t i; | 77 | size_t i; |
