aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent60c25873699285731cf3f2f5b6e5ade739e8862a (diff)
downloadopenssl-11222483d75c1e18fb53fe71b9a86fcfdb6d0725.tar.gz
constify X509_REQ_get0_signature()
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h
index 48de4de209..78227128a2 100644
--- a/include/openssl/x509.h
+++ b/include/openssl/x509.h
@@ -647,8 +647,8 @@ long X509_REQ_get_version(const X509_REQ *req);
int X509_REQ_set_version(X509_REQ *x, long version);
X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
-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);
int X509_REQ_get_signature_nid(const X509_REQ *req);
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);