sync code with last improvements from OpenBSD
This commit is contained in:
parent
e5a8beb33e
commit
2ec21d9c19
205 changed files with 4715 additions and 23023 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: ASRange_new.3,v 1.7 2023/10/01 05:20:41 tb Exp $
|
||||
.\" $OpenBSD: ASRange_new.3,v 1.8 2023/10/11 12:06:11 tb Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
|
||||
.\"
|
||||
|
@ -14,7 +14,7 @@
|
|||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate: October 1 2023 $
|
||||
.Dd $Mdocdate: October 11 2023 $
|
||||
.Dt ASRANGE_NEW 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -92,16 +92,10 @@ All
|
|||
.Vt ASN1_INTEGER Ns s
|
||||
in this manual must be representable as unsigned 32-bit integers.
|
||||
The API performs no corresponding checks.
|
||||
The library provides no convenient way of setting the value of an
|
||||
An
|
||||
.Vt ASN1_INTEGER
|
||||
directly.
|
||||
A detour via a
|
||||
.Vt BIGNUM
|
||||
or a string is unavoidable.
|
||||
To retrieve the value of an
|
||||
.Vt ASN1_INTEGER ,
|
||||
use
|
||||
.Xr ASN1_INTEGER_get_uint64 3 .
|
||||
can be set using
|
||||
.Xr ASN1_INTEGER_set_uint64 3 .
|
||||
.Pp
|
||||
The
|
||||
.Vt ASRange
|
||||
|
@ -353,8 +347,7 @@ return the number of bytes successfully encoded
|
|||
or a value <= 0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr ASIdentifiers_new 3 ,
|
||||
.Xr BN_set_word 3 ,
|
||||
.Xr BN_to_ASN1_INTEGER 3 ,
|
||||
.Xr ASN1_INTEGER_set_uint64 3 ,
|
||||
.Xr crypto 3 ,
|
||||
.Xr IPAddressRange_new 3 ,
|
||||
.Xr s2i_ASN1_INTEGER 3 ,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: X509_ALGOR_dup.3,v 1.19 2023/10/10 13:59:47 tb Exp $
|
||||
.\" $OpenBSD: X509_ALGOR_dup.3,v 1.20 2023/10/11 06:08:57 tb Exp $
|
||||
.\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400
|
||||
.\"
|
||||
.\" This file is a derived work.
|
||||
|
@ -66,7 +66,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd $Mdocdate: October 10 2023 $
|
||||
.Dd $Mdocdate: October 11 2023 $
|
||||
.Dt X509_ALGOR_DUP 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -208,16 +208,31 @@ is transferred to
|
|||
on success.
|
||||
.Pp
|
||||
.Fn X509_ALGOR_get0
|
||||
is the inverse of
|
||||
.Fn X509_ALGOR_set0 :
|
||||
it returns the algorithm OID in
|
||||
.Pf * Fa paobj
|
||||
and the associated parameter in
|
||||
.Pf * Fa pptype
|
||||
returns
|
||||
.Fa alg Ns 's
|
||||
algorithm OID in
|
||||
.Pf * Fa paobj ,
|
||||
its parameter type in
|
||||
.Pf * Fa pptype ,
|
||||
and its parameter value in
|
||||
.Pf * Fa ppval .
|
||||
Any of
|
||||
.Fa paobj ,
|
||||
.Fa pptype ,
|
||||
and
|
||||
.Pf * Fa ppval
|
||||
from
|
||||
.Fa alg .
|
||||
.Fa ppval
|
||||
can be
|
||||
.Dv NULL .
|
||||
If
|
||||
.Fa pptype is
|
||||
.Dv NULL
|
||||
or if
|
||||
.Pf * Fa pptype
|
||||
is
|
||||
.Dv V_ASN1_UNDEF
|
||||
then
|
||||
.Pf * Fa ppval Ns 's
|
||||
value is undefined.
|
||||
.Pp
|
||||
.Fn X509_ALGOR_set_md
|
||||
sets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue