diff options
Diffstat (limited to 'src/lib/libcrypto/man/d2i_X509_NAME.3')
-rw-r--r-- | src/lib/libcrypto/man/d2i_X509_NAME.3 | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/src/lib/libcrypto/man/d2i_X509_NAME.3 b/src/lib/libcrypto/man/d2i_X509_NAME.3 index c2d4b7d1cd..6e3e4a7f69 100644 --- a/src/lib/libcrypto/man/d2i_X509_NAME.3 +++ b/src/lib/libcrypto/man/d2i_X509_NAME.3 | |||
@@ -1,9 +1,9 @@ | |||
1 | .\" $OpenBSD: d2i_X509_NAME.3,v 1.15 2021/07/03 17:04:51 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_X509_NAME.3,v 1.16 2021/07/20 17:31:32 schwarze Exp $ |
2 | .\" checked up to: | 2 | .\" checked up to: |
3 | .\" OpenSSL crypto/d2i_X509_NAME 4692340e Jun 7 15:49:08 2016 -0400 and | 3 | .\" OpenSSL crypto/d2i_X509_NAME 4692340e Jun 7 15:49:08 2016 -0400 and |
4 | .\" OpenSSL man3/X509_NAME_get0_der 99d63d46 Oct 26 13:56:48 2016 -0400 | 4 | .\" OpenSSL man3/X509_NAME_get0_der 99d63d46 Oct 26 13:56:48 2016 -0400 |
5 | .\" | 5 | .\" |
6 | .\" Copyright (c) 2016, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> | 6 | .\" Copyright (c) 2016, 2018 Ingo Schwarze <schwarze@openbsd.org> |
7 | .\" | 7 | .\" |
8 | .\" Permission to use, copy, modify, and distribute this software for any | 8 | .\" Permission to use, copy, modify, and distribute this software for any |
9 | .\" purpose with or without fee is hereby granted, provided that the above | 9 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -17,7 +17,7 @@ | |||
17 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 17 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
18 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 18 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
19 | .\" | 19 | .\" |
20 | .Dd $Mdocdate: July 3 2021 $ | 20 | .Dd $Mdocdate: July 20 2021 $ |
21 | .Dt D2I_X509_NAME 3 | 21 | .Dt D2I_X509_NAME 3 |
22 | .Os | 22 | .Os |
23 | .Sh NAME | 23 | .Sh NAME |
@@ -26,7 +26,6 @@ | |||
26 | .Nm X509_NAME_get0_der , | 26 | .Nm X509_NAME_get0_der , |
27 | .Nm X509_NAME_dup , | 27 | .Nm X509_NAME_dup , |
28 | .Nm X509_NAME_set , | 28 | .Nm X509_NAME_set , |
29 | .Nm X509_NAME_hash , | ||
30 | .Nm d2i_X509_NAME_ENTRY , | 29 | .Nm d2i_X509_NAME_ENTRY , |
31 | .Nm i2d_X509_NAME_ENTRY , | 30 | .Nm i2d_X509_NAME_ENTRY , |
32 | .Nm X509_NAME_ENTRY_dup | 31 | .Nm X509_NAME_ENTRY_dup |
@@ -62,10 +61,6 @@ | |||
62 | .Fa "X509_NAME **val_out" | 61 | .Fa "X509_NAME **val_out" |
63 | .Fa "X509_NAME *val_in" | 62 | .Fa "X509_NAME *val_in" |
64 | .Fc | 63 | .Fc |
65 | .Ft unsigned long | ||
66 | .Fo X509_NAME_hash | ||
67 | .Fa "X509_NAME *val_in" | ||
68 | .Fc | ||
69 | .Ft X509_NAME_ENTRY * | 64 | .Ft X509_NAME_ENTRY * |
70 | .Fo d2i_X509_NAME_ENTRY | 65 | .Fo d2i_X509_NAME_ENTRY |
71 | .Fa "X509_NAME_ENTRY **val_out" | 66 | .Fa "X509_NAME_ENTRY **val_out" |
@@ -142,15 +137,6 @@ remains valid and may or may not be the same pointer as | |||
142 | .Pf * Fa val_out | 137 | .Pf * Fa val_out |
143 | after the call. | 138 | after the call. |
144 | .Pp | 139 | .Pp |
145 | .Fn X509_NAME_hash | ||
146 | calculates a | ||
147 | .Xr SHA1 3 | ||
148 | hash of the DER-encoded form of the name | ||
149 | .Pf * Fa val_in . | ||
150 | It is for example used by | ||
151 | .Xr X509_LOOKUP_hash_dir 3 | ||
152 | to locate certificate files in the file system. | ||
153 | .Pp | ||
154 | .Fn d2i_X509_NAME_ENTRY | 140 | .Fn d2i_X509_NAME_ENTRY |
155 | and | 141 | and |
156 | .Fn i2d_X509_NAME_ENTRY | 142 | .Fn i2d_X509_NAME_ENTRY |
@@ -180,9 +166,6 @@ and | |||
180 | .Fn X509_NAME_get0_der | 166 | .Fn X509_NAME_get0_der |
181 | return 1 on success or 0 if an error occurs. | 167 | return 1 on success or 0 if an error occurs. |
182 | .Pp | 168 | .Pp |
183 | .Fn X509_NAME_hash | ||
184 | returns the hash value or 0 if an error occurs. | ||
185 | .Pp | ||
186 | .Fn d2i_X509_NAME_ENTRY | 169 | .Fn d2i_X509_NAME_ENTRY |
187 | and | 170 | and |
188 | .Fn X509_NAME_ENTRY_dup | 171 | .Fn X509_NAME_ENTRY_dup |
@@ -221,8 +204,6 @@ and | |||
221 | .Fn X509_NAME_ENTRY_dup | 204 | .Fn X509_NAME_ENTRY_dup |
222 | first appeared in SSLeay 0.5.1. | 205 | first appeared in SSLeay 0.5.1. |
223 | .Fn X509_NAME_set | 206 | .Fn X509_NAME_set |
224 | and | ||
225 | .Fn X509_NAME_hash | ||
226 | first appeared in SSLeay 0.8.0. | 207 | first appeared in SSLeay 0.8.0. |
227 | These functions have been available since | 208 | These functions have been available since |
228 | .Ox 2.4 . | 209 | .Ox 2.4 . |