projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deal with the consequences of constifying getters
[openssl.git]
/
apps
/
req.c
diff --git
a/apps/req.c
b/apps/req.c
index ca8a9af8747d4bcabec6a49ef52084e11665887a..d1f5dcb3450309e754c5944bd8cc16b19709cb7d 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-768,7
+768,7
@@
int req_main(int argc, char **argv)
fprintf(stdout, "Modulus=");
#ifndef OPENSSL_NO_RSA
if (EVP_PKEY_base_id(tpubkey) == EVP_PKEY_RSA) {
- BIGNUM *n;
+
const
BIGNUM *n;
RSA_get0_key(EVP_PKEY_get0_RSA(tpubkey), &n, NULL, NULL);
BN_print(out, n);
} else