diff options
author | tb <> | 2023-04-21 12:28:47 +0000 |
---|---|---|
committer | tb <> | 2023-04-21 12:28:47 +0000 |
commit | 9e44b5bdb73c1bb4f878ccaee7bf50c523f95983 (patch) | |
tree | 329dc8003751d1e98e7cf6664d8a608a6fdfe1bf /src/lib | |
parent | a3400b9c38f0bdafb1f2a52b6823e26bd5fcc0ac (diff) | |
download | openbsd-9e44b5bdb73c1bb4f878ccaee7bf50c523f95983.tar.gz openbsd-9e44b5bdb73c1bb4f878ccaee7bf50c523f95983.tar.bz2 openbsd-9e44b5bdb73c1bb4f878ccaee7bf50c523f95983.zip |
s2i_ASN1_INTEGER.3: minor fixes
Fix botched Xr and be more precise about errors by being less precise.
Add a BUGS section.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 b/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 index d3d6a1675e..dd990ff7f1 100644 --- a/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 +++ b/src/lib/libcrypto/man/s2i_ASN1_INTEGER.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.2 2023/04/20 18:54:47 tb Exp $ | 1 | .\" $OpenBSD: s2i_ASN1_INTEGER.3,v 1.3 2023/04/21 12:28:47 tb Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | .\" Copyright (c) 2023 Theo Buehler <tb@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: April 20 2023 $ | 17 | .Dd $Mdocdate: April 21 2023 $ |
18 | .Dt I2S_ASN1_INTEGER 3 | 18 | .Dt I2S_ASN1_INTEGER 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -151,7 +151,7 @@ The | |||
151 | .Fa method | 151 | .Fa method |
152 | argument can be provided by application programs or it can be a | 152 | argument can be provided by application programs or it can be a |
153 | default method obtained from | 153 | default method obtained from |
154 | .Xr X509V3_EXT_METHOD_get_nid 3 . | 154 | .Xr X509V3_EXT_get_nid 3 . |
155 | The default | 155 | The default |
156 | .Fa methods | 156 | .Fa methods |
157 | corresponding to the following | 157 | corresponding to the following |
@@ -182,7 +182,7 @@ returns an | |||
182 | .Vt ASN1_OCTET_STRING , | 182 | .Vt ASN1_OCTET_STRING , |
183 | or NULL on error. | 183 | or NULL on error. |
184 | .Pp | 184 | .Pp |
185 | Error codes can be obtained by | 185 | Error codes can sometimes be obtained by |
186 | .Xr ERR_get_error 3 . | 186 | .Xr ERR_get_error 3 . |
187 | .Sh SEE ALSO | 187 | .Sh SEE ALSO |
188 | .Xr ASN1_INTEGER_new 3 , | 188 | .Xr ASN1_INTEGER_new 3 , |
@@ -193,3 +193,7 @@ Error codes can be obtained by | |||
193 | These functions first appeared in OpenSSL 0.9.4 and | 193 | These functions first appeared in OpenSSL 0.9.4 and |
194 | have been available since | 194 | have been available since |
195 | .Ox 2.6 . | 195 | .Ox 2.6 . |
196 | .Sh BUGS | ||
197 | Of these functions at least | ||
198 | .Fn s2i_ASN1_OCTET_STRING | ||
199 | can succeed while setting an error and fail without setting an error. | ||