summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-checkkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-checkkey.c b/src/tools/tor-checkkey.c
index 8e957c2540..3e16fd0336 100644
--- a/src/tools/tor-checkkey.c
+++ b/src/tools/tor-checkkey.c
@@ -72,9 +72,9 @@ main(int c, char **v)
} else {
rsa = crypto_pk_get_rsa_(env);
- BIGNUM *rsa_n;
+ const BIGNUM *rsa_n;
#ifdef OPENSSL_1_1_API
- BIGNUM *rsa_e, *rsa_d;
+ const BIGNUM *rsa_e, *rsa_d;
RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d);
#else
rsa_n = rsa->n;