diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-28 11:08:51 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-28 15:46:24 +0100 |
commit | 1fef2f80503b31f6892f9f9c862910c2b6b32b0b (patch) | |
tree | feb5a092b8a9317cfa42f5d8108e6cedf643dbc4 /crypto/bn/bn_intern.c | |
parent | Remove some #if 0 code in ssl, crypto/bio (diff) | |
download | openssl-1fef2f80503b31f6892f9f9c862910c2b6b32b0b.tar.xz openssl-1fef2f80503b31f6892f9f9c862910c2b6b32b0b.zip |
Remove dead code in bn
There are a number of symbols in bn which are internal only and never used
by anything. They should be removed.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2766)
Diffstat (limited to 'crypto/bn/bn_intern.c')
-rw-r--r-- | crypto/bn/bn_intern.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/bn/bn_intern.c b/crypto/bn/bn_intern.c index 2c970647de..2524eb2acf 100644 --- a/crypto/bn/bn_intern.c +++ b/crypto/bn/bn_intern.c @@ -143,11 +143,6 @@ int bn_get_top(const BIGNUM *a) return a->top; } -void bn_set_top(BIGNUM *a, int top) -{ - a->top = top; -} - int bn_get_dmax(const BIGNUM *a) { return a->dmax; @@ -198,13 +193,3 @@ int bn_set_words(BIGNUM *a, BN_ULONG *words, int num_words) bn_correct_top(a); return 1; } - -size_t bn_sizeof_BIGNUM(void) -{ - return sizeof(BIGNUM); -} - -BIGNUM *bn_array_el(BIGNUM *base, int el) -{ - return &base[el]; -} |