summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-10-13 05:47:35 +0000
committertb <>2023-10-13 05:47:35 +0000
commitdccf93931f26891b632ea18617a6f2da440604a2 (patch)
tree78193e96af130c9b8b0feca7e51461ed22647a53 /src/lib
parentf05286f527896a19067521162df3e76836626419 (diff)
downloadopenbsd-dccf93931f26891b632ea18617a6f2da440604a2.tar.gz
openbsd-dccf93931f26891b632ea18617a6f2da440604a2.tar.bz2
openbsd-dccf93931f26891b632ea18617a6f2da440604a2.zip
Improve the description of X509_ALGOR_dup(3)
The old description was vague, but strictly speaking a lie, so make it more precise and turn the lie into a truth.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_ALGOR_dup.316
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/X509_ALGOR_dup.3 b/src/lib/libcrypto/man/X509_ALGOR_dup.3
index 3a70ba4a4e..ee29a314da 100644
--- a/src/lib/libcrypto/man/X509_ALGOR_dup.3
+++ b/src/lib/libcrypto/man/X509_ALGOR_dup.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_ALGOR_dup.3,v 1.20 2023/10/11 06:08:57 tb Exp $ 1.\" $OpenBSD: X509_ALGOR_dup.3,v 1.21 2023/10/13 05:47:35 tb Exp $
2.\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400 2.\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: October 11 2023 $ 69.Dd $Mdocdate: October 13 2023 $
70.Dt X509_ALGOR_DUP 3 70.Dt X509_ALGOR_DUP 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -157,9 +157,15 @@ is
157no action occurs. 157no action occurs.
158.Pp 158.Pp
159.Fn X509_ALGOR_dup 159.Fn X509_ALGOR_dup
160copies 160creates a deep copy of
161.Fa alg 161.Vt X509_ALGOR .
162by calling 162It is implemented by calling
163.Xr ASN1_item_dup 3
164with arguments of
165.Dv X509_ALGOR_it
166and
167.Fa alg ,
168which is equivalent to calling
163.Xr i2d_X509_ALGOR 3 169.Xr i2d_X509_ALGOR 3
164and 170and
165.Xr d2i_X509_ALGOR 3 . 171.Xr d2i_X509_ALGOR 3 .