diff options
author | schwarze <> | 2021-10-24 13:10:46 +0000 |
---|---|---|
committer | schwarze <> | 2021-10-24 13:10:46 +0000 |
commit | 8e1b0c908a4c5230da8f867774cf4f8c41b02174 (patch) | |
tree | 3f22072100020487ad7b10a0b583533a652e1017 | |
parent | 8fada2576d7c097515c5999de25d0ceb1221f65a (diff) | |
download | openbsd-8e1b0c908a4c5230da8f867774cf4f8c41b02174.tar.gz openbsd-8e1b0c908a4c5230da8f867774cf4f8c41b02174.tar.bz2 openbsd-8e1b0c908a4c5230da8f867774cf4f8c41b02174.zip |
Since tb@ added DECLARE_STACK_OF(GENERAL_NAMES) to x509v3.h in rev. 1.9
and since CMS_ReceiptRequest_get0_values(3) uses it, add it to the
list of STACK_OF(3) types.
While here, also add the missing CMS_RecipientInfo, CMS_SignerInfo,
OPENSSL_STRING, SRTP_PROTECTION_PROFILE, SSL_CIPHER, SSL_COMP and
X509_NAME to the list of stack types used by the API, drop
STACK_OF(X509_PURPOSE) which is only used internally, and list those
STACK_OF(*) types separately that are obfuscated with typedef.
-rw-r--r-- | src/lib/libcrypto/man/STACK_OF.3 | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/STACK_OF.3 b/src/lib/libcrypto/man/STACK_OF.3 index 8b84900006..4c627eed9b 100644 --- a/src/lib/libcrypto/man/STACK_OF.3 +++ b/src/lib/libcrypto/man/STACK_OF.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: STACK_OF.3,v 1.4 2019/06/10 09:49:48 schwarze Exp $ | 1 | .\" $OpenBSD: STACK_OF.3,v 1.5 2021/10/24 13:10:46 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: June 10 2019 $ | 17 | .Dd $Mdocdate: October 24 2021 $ |
18 | .Dt STACK_OF 3 | 18 | .Dt STACK_OF 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -98,33 +98,50 @@ all the types listed below. | |||
98 | Using the above may make sense for the following types because | 98 | Using the above may make sense for the following types because |
99 | public API functions exist that take stacks of these types as | 99 | public API functions exist that take stacks of these types as |
100 | arguments or return them: | 100 | arguments or return them: |
101 | .Vt ACCESS_DESCRIPTION , | ||
102 | .Vt ASN1_INTEGER , | 101 | .Vt ASN1_INTEGER , |
103 | .Vt ASN1_OBJECT , | 102 | .Vt ASN1_OBJECT , |
104 | .Vt ASN1_TYPE , | ||
105 | .Vt ASN1_UTF8STRING , | 103 | .Vt ASN1_UTF8STRING , |
104 | .Vt CMS_RecipientInfo , | ||
105 | .Vt CMS_SignerInfo , | ||
106 | .Vt CONF_VALUE , | 106 | .Vt CONF_VALUE , |
107 | .Vt DIST_POINT , | 107 | .Vt GENERAL_NAMES , |
108 | .Vt GENERAL_NAME , | ||
109 | .Vt GENERAL_SUBTREE , | 108 | .Vt GENERAL_SUBTREE , |
109 | .Vt OPENSSL_STRING Pq which is just Vt char * , | ||
110 | .Vt PKCS12_SAFEBAG , | 110 | .Vt PKCS12_SAFEBAG , |
111 | .Vt PKCS7 , | 111 | .Vt PKCS7 , |
112 | .Vt PKCS7_RECIP_INFO , | 112 | .Vt PKCS7_RECIP_INFO , |
113 | .Vt PKCS7_SIGNER_INFO , | 113 | .Vt PKCS7_SIGNER_INFO , |
114 | .Vt POLICY_MAPPING , | ||
115 | .Vt POLICYINFO , | ||
116 | .Vt POLICYQUALINFO , | 114 | .Vt POLICYQUALINFO , |
115 | .Vt SRTP_PROTECTION_PROFILE , | ||
116 | .Vt SSL_CIPHER , | ||
117 | .Vt SSL_COMP , | ||
117 | .Vt X509 , | 118 | .Vt X509 , |
118 | .Vt X509_ALGOR , | 119 | .Vt X509_ALGOR , |
119 | .Vt X509_ATTRIBUTE , | 120 | .Vt X509_ATTRIBUTE , |
120 | .Vt X509_CRL , | 121 | .Vt X509_CRL , |
121 | .Vt X509_EXTENSION , | 122 | .Vt X509_EXTENSION , |
122 | .Vt X509_INFO , | 123 | .Vt X509_INFO , |
124 | .Vt X509_NAME , | ||
123 | .Vt X509_OBJECT , | 125 | .Vt X509_OBJECT , |
124 | .Vt X509_POLICY_NODE , | 126 | .Vt X509_POLICY_NODE , |
125 | .Vt X509_PURPOSE , | ||
126 | .Vt X509_REVOKED . | 127 | .Vt X509_REVOKED . |
127 | .Pp | 128 | .Pp |
129 | Additionally, some public API functions use the following types | ||
130 | which are declared with | ||
131 | .Sy typedef : | ||
132 | .Bl -column STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS | ||
133 | .It Vt STACK_OF(ACCESS_DESCRIPTION) Ta Vt AUTHORITY_INFO_ACCESS | ||
134 | .It Vt STACK_OF(ASN1_OBJECT) Ta Vt EXTENDED_KEY_USAGE | ||
135 | .It Vt STACK_OF(ASN1_TYPE) Ta Vt ASN1_SEQUENCE_ANY | ||
136 | .It Vt STACK_OF(DIST_POINT) Ta Vt CRL_DIST_POINTS | ||
137 | .It Vt STACK_OF(GENERAL_NAME) Ta Vt GENERAL_NAMES | ||
138 | .It Vt STACK_OF(IPAddressFamily) Ta Vt IPAddrBlocks | ||
139 | .It Vt STACK_OF(POLICY_MAPPING) Ta Vt POLICY_MAPPINGS | ||
140 | .It Vt STACK_OF(POLICYINFO) Ta Vt CERTIFICATEPOLICIES | ||
141 | .It Vt STACK_OF(X509_ALGOR) Ta Vt X509_ALGORS | ||
142 | .It Vt STACK_OF(X509_EXTENSION) Ta Vt X509_EXTENSIONS | ||
143 | .El | ||
144 | .Pp | ||
128 | Even though the OpenSSL headers declare wrapper functions for many | 145 | Even though the OpenSSL headers declare wrapper functions for many |
129 | more types and even though the OpenSSL documentation says that users | 146 | more types and even though the OpenSSL documentation says that users |
130 | can declare their own stack types, using | 147 | can declare their own stack types, using |