summaryrefslogtreecommitdiffstats
path: root/crypto/x509/t_req.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-18 15:13:00 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-19 12:47:31 +0100
commit11222483d75c1e18fb53fe71b9a86fcfdb6d0725 (patch)
treee397cf2b215299c93339059c67cd5c64ed783bc5 /crypto/x509/t_req.c
parent60c25873699285731cf3f2f5b6e5ade739e8862a (diff)
constify X509_REQ_get0_signature()
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/x509/t_req.c')
-rw-r--r--crypto/x509/t_req.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/t_req.c b/crypto/x509/t_req.c
index dbe4be3db1..0fced677dd 100644
--- a/crypto/x509/t_req.c
+++ b/crypto/x509/t_req.c
@@ -174,9 +174,9 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
}
if (!(cflag & X509_FLAG_NO_SIGDUMP)) {
- X509_ALGOR *sig_alg;
- ASN1_BIT_STRING *sig;
- X509_REQ_get0_signature(&sig, &sig_alg, x);
+ const X509_ALGOR *sig_alg;
+ const ASN1_BIT_STRING *sig;
+ X509_REQ_get0_signature(x, &sig, &sig_alg);
if (!X509_signature_print(bp, sig_alg, sig))
goto err;
}