summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-27 13:17:42 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-27 13:17:42 -0400
commit2197bfcc6a858af8f8ff41dba8825d676d18d37c (patch)
tree8e0963f971e3ed5581df267fa552c4c5f421c62e /src/tools
parent703254a8321788bd6d03ec5f335fe338916fef6f (diff)
parent0116eae59a35e4303ca179d6b0fb0302a83e87a1 (diff)
downloadtor-2197bfcc6a858af8f8ff41dba8825d676d18d37c.tar.gz
tor-2197bfcc6a858af8f8ff41dba8825d676d18d37c.zip
Merge branch 'maint-0.2.8'
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;