diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-24 03:22:53 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-24 03:22:53 +0000 |
commit | b172dec8641a7b1ce55434957828492a91f7bc33 (patch) | |
tree | b6ddb247d6dd4484871b48bd90b18e2b578f7937 | |
parent | 61391e231477aec5edaec43038db7cb8ae9361d3 (diff) | |
download | openssl-b172dec8641a7b1ce55434957828492a91f7bc33.zip openssl-b172dec8641a7b1ce55434957828492a91f7bc33.tar.gz openssl-b172dec8641a7b1ce55434957828492a91f7bc33.tar.bz2 |
DEC C complains about bad subscript, but we know better, so let's shut it up.
-rw-r--r-- | crypto/bn/bn_nist.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/bn/bn_nist.c b/crypto/bn/bn_nist.c index fa453a4..b42ad01 100644 --- a/crypto/bn/bn_nist.c +++ b/crypto/bn/bn_nist.c @@ -282,6 +282,11 @@ int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, nist_cp_bn_0(buf, a_d + BN_NIST_192_TOP, top - BN_NIST_192_TOP, BN_NIST_192_TOP); +#if defined(OPENSSL_SYS_VMS) && defined(__DECC) +# pragma save +# pragma message disable BADSUBSCRIPT +#endif + nist_set_192(t_d, buf, 0, 3, 3); if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP)) ++carry; @@ -290,6 +295,10 @@ int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP)) ++carry; +#if defined(OPENSSL_SYS_VMS) && defined(__DECC) +# pragma restore +#endif + nist_set_192(t_d, buf, 5, 5, 5) if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP)) ++carry; |