diff options
| author | tb <> | 2024-08-31 10:46:40 +0000 |
|---|---|---|
| committer | tb <> | 2024-08-31 10:46:40 +0000 |
| commit | 6e18dec83a409158e5e06e9980d445c2a14a5fbe (patch) | |
| tree | 39b3f44146bb00c2c611ffa1e298dbea4a4634b8 /src/lib/libcrypto/x509/x509.h | |
| parent | a39f98b1710f75361198c026bd5f09593af1c1f5 (diff) | |
| download | openbsd-6e18dec83a409158e5e06e9980d445c2a14a5fbe.tar.gz openbsd-6e18dec83a409158e5e06e9980d445c2a14a5fbe.tar.bz2 openbsd-6e18dec83a409158e5e06e9980d445c2a14a5fbe.zip | |
Make X509at_* API internal
The only consumer, yara, has been adjusted. It will be some more work
to remove this idiocy internally, but at least we will no longer have
to care about external consumers.
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
| -rw-r--r-- | src/lib/libcrypto/x509/x509.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index ad3bb0f0f2..81c2111d02 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509.h,v 1.117 2024/08/31 10:25:38 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.118 2024/08/31 10:46:40 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 | * |
| @@ -906,26 +906,6 @@ ASN1_OBJECT * X509_EXTENSION_get_object(X509_EXTENSION *ex); | |||
| 906 | ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne); | 906 | ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne); |
| 907 | int X509_EXTENSION_get_critical(const X509_EXTENSION *ex); | 907 | int X509_EXTENSION_get_critical(const X509_EXTENSION *ex); |
| 908 | 908 | ||
| 909 | int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x); | ||
| 910 | int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, | ||
| 911 | int lastpos); | ||
| 912 | int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, | ||
| 913 | const ASN1_OBJECT *obj, int lastpos); | ||
| 914 | X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc); | ||
| 915 | X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc); | ||
| 916 | STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, | ||
| 917 | X509_ATTRIBUTE *attr); | ||
| 918 | STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) **x, | ||
| 919 | const ASN1_OBJECT *obj, int type, | ||
| 920 | const unsigned char *bytes, int len); | ||
| 921 | STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) **x, | ||
| 922 | int nid, int type, | ||
| 923 | const unsigned char *bytes, int len); | ||
| 924 | STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE) **x, | ||
| 925 | const char *attrname, int type, | ||
| 926 | const unsigned char *bytes, int len); | ||
| 927 | void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x, | ||
| 928 | const ASN1_OBJECT *obj, int lastpos, int type); | ||
| 929 | X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, | 909 | X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, |
| 930 | int atrtype, const void *data, int len); | 910 | int atrtype, const void *data, int len); |
| 931 | X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, | 911 | X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, |
