diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-31 19:38:09 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-04 17:02:48 +0200 |
commit | c47ba4e96c7aa9c2f741f8c89b6440ed2c13b91c (patch) | |
tree | 0057bcd12bc5ef5437bdfde700d573f6ff2b56d7 /crypto/x509/x509_req.c | |
parent | cfc5e0aa739abeb8861d2127ca31addcc1149a3e (diff) | |
download | openssl-new-c47ba4e96c7aa9c2f741f8c89b6440ed2c13b91c.tar.gz |
Constify some ASN1_OBJECT *obj input parameters
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/x509_req.c')
-rw-r--r-- | crypto/x509/x509_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c index e1d2c2002b..e7c2ae8a77 100644 --- a/crypto/x509/x509_req.c +++ b/crypto/x509/x509_req.c @@ -214,7 +214,7 @@ int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) return X509at_get_attr_by_NID(req->req_info.attributes, nid, lastpos); } -int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, +int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, int lastpos) { return X509at_get_attr_by_OBJ(req->req_info.attributes, obj, lastpos); |