diff options
author | Geoff Thorpe <geoff@openssl.org> | 2004-06-17 23:50:25 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2004-06-17 23:50:25 +0000 |
commit | df11e1e921f420f4fa911df15c887d9ad2740867 (patch) | |
tree | a39acc8196c863b7f99f2dc41f7291d6d6c7ae70 /crypto | |
parent | 6a6592962cc6452361fab821e50db3da4a5f64a6 (diff) |
Deprecate unused cruft, and "make update".
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/bn.h | 2 | ||||
-rw-r--r-- | crypto/bn/bn_lib.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index 0f6373aea9..3477a13fff 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -539,8 +539,10 @@ int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx); int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *r, BN_CTX *ctx); int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); +#ifndef OPENSSL_NO_DEPRECATED void BN_set_params(int mul,int high,int low,int mont); int BN_get_params(int which); /* 0, mul, 1 high, 2 low, 3 mont */ +#endif void BN_RECP_CTX_init(BN_RECP_CTX *recp); BN_RECP_CTX *BN_RECP_CTX_new(void); diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index bbc359cb78..789e9aa4fb 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -69,6 +69,8 @@ const char *BN_version="Big Number" OPENSSL_VERSION_PTEXT; +/* This stuff appears to be completely unused, so is deprecated */ +#ifndef OPENSSL_NO_DEPRECATED /* For a 32 bit machine * 2 - 4 == 128 * 3 - 8 == 256 @@ -127,6 +129,7 @@ int BN_get_params(int which) else if (which == 3) return(bn_limit_bits_mont); else return(0); } +#endif const BIGNUM *BN_value_one(void) { |