summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2003-04-02 09:50:22 +0000
committerBodo Möller <bodo@openssl.org>2003-04-02 09:50:22 +0000
commit5679bcce070335745652c1b9689f6ba06c7b6596 (patch)
treea228d9953cc5422a338ecb7cce88c23d4bea9e9e /crypto/bn/bn.h
parent24692fc5d78f7f4ed272e8fbf01fd8d858250ba9 (diff)
downloadopenssl-5679bcce070335745652c1b9689f6ba06c7b6596.tar.gz
make RSA blinding thread-safe
Diffstat (limited to 'crypto/bn/bn.h')
-rw-r--r--crypto/bn/bn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h
index 58263baf9a..d7a5fce6ea 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -261,6 +261,8 @@ typedef struct bn_blinding_st
BIGNUM *A;
BIGNUM *Ai;
BIGNUM *mod; /* just a reference */
+ unsigned long thread_id; /* added in OpenSSL 0.9.6j and 0.9.7b;
+ * used only by crypto/rsa/rsa_eay.c, rsa_lib.c */
} BN_BLINDING;
/* Used for montgomery multiplication */