diff options
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; } |