diff options
author | Akshit Akhoury <akshit.akhoury@citrix.com> | 2020-10-02 22:28:36 +0530 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-10-15 13:54:21 +0100 |
commit | 796948cd733d2bd0d8acbaf2354c718bcd4352a6 (patch) | |
tree | 2cbc92b62df256110e2dce6f6e903bd1de9895e3 /crypto/x509/x509_att.c | |
parent | a829b735b645516041b55746e013692babd8cd31 (diff) | |
download | openssl-new-796948cd733d2bd0d8acbaf2354c718bcd4352a6.tar.gz |
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 'crypto/x509/x509_att.c')
-rw-r--r-- | crypto/x509/x509_att.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_att.c b/crypto/x509/x509_att.c index d93d757aef..6966d12c20 100644 --- a/crypto/x509/x509_att.c +++ b/crypto/x509/x509_att.c @@ -149,7 +149,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE) return ret; } -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) { int i; |