summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAkshit Akhoury <akshit.akhoury@citrix.com>2020-10-02 22:28:36 +0530
committerMatt Caswell <matt@openssl.org>2020-10-15 13:54:21 +0100
commit796948cd733d2bd0d8acbaf2354c718bcd4352a6 (patch)
tree2cbc92b62df256110e2dce6f6e903bd1de9895e3 /include
parenta829b735b645516041b55746e013692babd8cd31 (diff)
Changing X509at_get0_data_by_OBJ to expect const stack of X509_ATTRIBUTE
CLA: trivial Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13062)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/x509.h.in b/include/openssl/x509.h.in
index 1c4a13aa42..eda5ee986f 100644
--- a/include/openssl/x509.h.in
+++ b/include/openssl/x509.h.in
@@ -975,7 +975,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE)
int type,
const unsigned char *bytes,
int len);
-void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x,
+void *X509at_get0_data_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *x,
const ASN1_OBJECT *obj, int lastpos, int type);
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid,
int atrtype, const void *data,