diff options
author | 2018-05-18 19:21:33 +0000 | |
---|---|---|
committer | 2018-05-18 19:21:33 +0000 | |
commit | c660b014c755e7f9e4ac45be91add4aaecd482a0 (patch) | |
tree | 941e18814bab9f4bda1157b5dad41356031aedff /lib/libcrypto/x509/x509.h | |
parent | regen (diff) | |
download | wireguard-openbsd-c660b014c755e7f9e4ac45be91add4aaecd482a0.tar.xz wireguard-openbsd-c660b014c755e7f9e4ac45be91add4aaecd482a0.zip |
Add const to the argument of X509_ATTRIBUTE_count(3).
tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r-- | lib/libcrypto/x509/x509.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index 56c1b8a1a03..ec7887a9284 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.62 2018/05/18 18:40:38 tb Exp $ */ +/* $OpenBSD: x509.h,v 1.63 2018/05/18 19:21:33 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1225,7 +1225,7 @@ int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj); int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len); void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, void *data); -int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr); +int X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr); ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); |