Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrian Smith <brian@briansmith.org>2016-02-09 09:58:58 +0300
committerDavid Benjamin <davidben@google.com>2016-02-12 01:01:14 +0300
commit46a4d6d7051775589180e46b3974b2c94dc9f2d7 (patch)
tree40193479a3a03aa4ac7c6a72837f4a06c57d9cce /crypto
parent3ab3e3db6e5e060612d9f2172aa0efa3ff8f55a3 (diff)
Remove out-of-date and misleading comment in |bn_blinding_st|.
I guess the comment "just a reference" was intended to mean that the |mod| member is a weak reference to a |BIGNUM| owned by something else. However, it is actually owned by the |bn_blinding_st|, as one can see by reading |BN_BLINDING_new| and |BN_BLINDING_free|. Change-Id: If2a681fc9d9db536170e0efb11fdab93e4f0baba Reviewed-on: https://boringssl-review.googlesource.com/7112 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/rsa/blinding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/blinding.c b/crypto/rsa/blinding.c
index d5bfcd31..e6b987d9 100644
--- a/crypto/rsa/blinding.c
+++ b/crypto/rsa/blinding.c
@@ -123,7 +123,7 @@ struct bn_blinding_st {
BIGNUM *A;
BIGNUM *Ai;
BIGNUM *e;
- BIGNUM *mod; /* just a reference */
+ BIGNUM *mod;
int counter;
/* mont is the Montgomery context used for this |BN_BLINDING|. It is not
* owned and must outlive this structure. */