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
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-11-04 02:24:07 +0300
committerAdam Langley <agl@google.com>2015-11-04 02:39:41 +0300
commit8fb0f525e1a6a5c9be5250a7e91ffacb3e2c3ddf (patch)
tree9dacfb542df4e2b6c6ce5c16bb7bb991cda830c9 /include/openssl/rsa.h
parentbb875350b3855d061b5f82fc2cb43c824c60e6d5 (diff)
Free BN_MONT_CTX in generic code.
Although those are only created by code owned by RSA_METHOD, custom RSA_METHODs shouldn't be allowed to squat our internal fields and then change how you free things. Remove 'method' from their names now that they're not method-specific. Change-Id: I9494ef9a7754ad59ac9fba7fd463b3336d826e0b Reviewed-on: https://boringssl-review.googlesource.com/6423 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/rsa.h')
-rw-r--r--include/openssl/rsa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index e0c43687..c9707510 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -567,9 +567,9 @@ struct rsa_st {
/* Used to cache montgomery values. The creation of these values is protected
* by |lock|. */
- BN_MONT_CTX *_method_mod_n;
- BN_MONT_CTX *_method_mod_p;
- BN_MONT_CTX *_method_mod_q;
+ BN_MONT_CTX *mont_n;
+ BN_MONT_CTX *mont_p;
+ BN_MONT_CTX *mont_q;
/* num_blindings contains the size of the |blindings| and |blindings_inuse|
* arrays. This member and the |blindings_inuse| array are protected by