summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsa/rsa_locl.h')
-rw-r--r--crypto/rsa/rsa_locl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_locl.h b/crypto/rsa/rsa_locl.h
index 5d16aa6f43..e342ca8dfb 100644
--- a/crypto/rsa/rsa_locl.h
+++ b/crypto/rsa/rsa_locl.h
@@ -8,6 +8,7 @@
*/
#include <openssl/rsa.h>
+#include "internal/refcount.h"
struct rsa_st {
/*
@@ -29,7 +30,7 @@ struct rsa_st {
BIGNUM *iqmp;
/* be careful using this if the RSA structure is shared */
CRYPTO_EX_DATA ex_data;
- int references;
+ CRYPTO_REF_COUNT references;
int flags;
/* Used to cache montgomery values */
BN_MONT_CTX *_method_mod_n;