diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-01 20:30:34 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-01 20:53:43 +0200 |
commit | b26ab17f3d3f56be57000e99b8ad94a4e90197a6 (patch) | |
tree | cf70f63393ca337a63a9fc87bd3ab5f854d25799 /crypto/x509 | |
parent | Constify some X509_CRL functions. (diff) | |
download | openssl-b26ab17f3d3f56be57000e99b8ad94a4e90197a6.tar.xz openssl-b26ab17f3d3f56be57000e99b8ad94a4e90197a6.zip |
Constify some X509_CRL, X509_REQ functions.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509')
-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 35743225a8..e1d2c2002b 100644 --- a/crypto/x509/x509_req.c +++ b/crypto/x509/x509_req.c @@ -267,12 +267,12 @@ int X509_REQ_add1_attr_by_txt(X509_REQ *req, return 0; } -long X509_REQ_get_version(X509_REQ *req) +long X509_REQ_get_version(const X509_REQ *req) { return ASN1_INTEGER_get(req->req_info.version); } -X509_NAME *X509_REQ_get_subject_name(X509_REQ *req) +X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req) { return req->req_info.subject; } |