diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_att.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_att.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_att.c b/src/lib/libcrypto/x509/x509_att.c index edadacc2c7..1479b918c7 100644 --- a/src/lib/libcrypto/x509/x509_att.c +++ b/src/lib/libcrypto/x509/x509_att.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_att.c,v 1.16 2018/05/13 06:48:00 tb Exp $ */ | 1 | /* $OpenBSD: x509_att.c,v 1.17 2018/05/18 19:21:33 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -353,7 +353,7 @@ err: | |||
353 | } | 353 | } |
354 | 354 | ||
355 | int | 355 | int |
356 | X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr) | 356 | X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr) |
357 | { | 357 | { |
358 | if (!attr->single) | 358 | if (!attr->single) |
359 | return sk_ASN1_TYPE_num(attr->value.set); | 359 | return sk_ASN1_TYPE_num(attr->value.set); |