diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-18 15:13:00 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-19 12:47:31 +0100 |
commit | 11222483d75c1e18fb53fe71b9a86fcfdb6d0725 (patch) | |
tree | e397cf2b215299c93339059c67cd5c64ed783bc5 /crypto/x509/x509_req.c | |
parent | 60c25873699285731cf3f2f5b6e5ade739e8862a (diff) | |
download | openssl-11222483d75c1e18fb53fe71b9a86fcfdb6d0725.tar.gz |
constify X509_REQ_get0_signature()
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/x509/x509_req.c')
-rw-r--r-- | crypto/x509/x509_req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c index e7c2ae8a77..7b88dbcd21 100644 --- a/crypto/x509/x509_req.c +++ b/crypto/x509/x509_req.c @@ -277,8 +277,8 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req) return req->req_info.subject; } -void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, - X509_REQ *req) +void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig, + const X509_ALGOR **palg) { if (psig != NULL) *psig = req->signature; |