summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-10-11 06:08:57 +0000
committertb <>2023-10-11 06:08:57 +0000
commit0a49cb417e0183546df41411bfb4aa4106480a12 (patch)
treec541fcaac90b69f66223d265811cc203ced30c3c /src/lib
parent5cbf5fcfb7c8f024018bdd341230dd05f331967a (diff)
downloadopenbsd-0a49cb417e0183546df41411bfb4aa4106480a12.tar.gz
openbsd-0a49cb417e0183546df41411bfb4aa4106480a12.tar.bz2
openbsd-0a49cb417e0183546df41411bfb4aa4106480a12.zip
Be more precise about X509_ALGOR_get0()
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_ALGOR_dup.337
1 files changed, 26 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/X509_ALGOR_dup.3 b/src/lib/libcrypto/man/X509_ALGOR_dup.3
index 0b878b7a86..3a70ba4a4e 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.19 2023/10/10 13:59:47 tb Exp $ 1.\" $OpenBSD: X509_ALGOR_dup.3,v 1.20 2023/10/11 06:08:57 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 10 2023 $ 69.Dd $Mdocdate: October 11 2023 $
70.Dt X509_ALGOR_DUP 3 70.Dt X509_ALGOR_DUP 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -208,16 +208,31 @@ is transferred to
208on success. 208on success.
209.Pp 209.Pp
210.Fn X509_ALGOR_get0 210.Fn X509_ALGOR_get0
211is the inverse of 211returns
212.Fn X509_ALGOR_set0 : 212.Fa alg Ns 's
213it returns the algorithm OID in 213algorithm OID in
214.Pf * Fa paobj 214.Pf * Fa paobj ,
215and the associated parameter in 215its parameter type in
216.Pf * Fa pptype 216.Pf * Fa pptype ,
217and its parameter value in
218.Pf * Fa ppval .
219Any of
220.Fa paobj ,
221.Fa pptype ,
217and 222and
218.Pf * Fa ppval 223.Fa ppval
219from 224can be
220.Fa alg . 225.Dv NULL .
226If
227.Fa pptype is
228.Dv NULL
229or if
230.Pf * Fa pptype
231is
232.Dv V_ASN1_UNDEF
233then
234.Pf * Fa ppval Ns 's
235value is undefined.
221.Pp 236.Pp
222.Fn X509_ALGOR_set_md 237.Fn X509_ALGOR_set_md
223sets 238sets