sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-12 21:17:19 +00:00
parent ca32125ea8
commit 256236394b
Signed by: purplerain
GPG Key ID: F42C07F07E2E35B7
3 changed files with 30 additions and 12 deletions

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: EVP_MD_meth_new.3,v 1.4 2023/09/12 12:11:05 schwarze Exp $
.\" $OpenBSD: EVP_MD_meth_new.3,v 1.5 2023/09/12 16:26:30 schwarze Exp $
.\" selective merge up to:
.\" OpenSSL man3/EVP_MD_meth_new 0388d212 Dec 14 12:47:07 2018 -0800
.\"
@ -235,7 +235,7 @@ and by the objects returned from
and
.Xr EVP_sm3 3 .
.It Dv EVP_MD_FLAG_DIGALGID_CUSTOM
This flag is reserved for used-defined
This flag is reserved for user-defined
.Vt EVP_MD
objects supporting custom
.Vt DigestAlgorithmIdentifier

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: EVP_PKEY_CTX_get_operation.3,v 1.2 2023/09/10 04:05:26 jsg Exp $
.\" $OpenBSD: EVP_PKEY_CTX_get_operation.3,v 1.3 2023/09/12 16:15:23 schwarze Exp $
.\"
.\" Copyright (c) 2023 Ingo Schwarze <schwarze@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: September 10 2023 $
.Dd $Mdocdate: September 12 2023 $
.Dt EVP_PKEY_CTX_GET_OPERATION 3
.Os
.Sh NAME
@ -92,11 +92,30 @@ was freshly returned from
or
.Xr EVP_PKEY_CTX_new_id 3
and not yet initialized.
.Pp
The following masks are defined as the logical OR of two or more of the above
.Dv EVP_PKEY_OP_*
bits:
.Pp
.Bl -tag -width EVP_PKEY_OP_TYPE_NOGEN -compact
.It Dv EVP_PKEY_OP_TYPE_CRYPT
DECRYPT | ENCRYPT
.It Dv EVP_PKEY_OP_TYPE_GEN
KEYGEN | PARAMGEN
.It Dv EVP_PKEY_OP_TYPE_NOGEN
CRYPT | DERIVE | SIG
.It Dv EVP_PKEY_OP_TYPE_SIG
SIGN | SIGNCTX | VERIFY | VERIFYCTX | VERIFYRECOVER
.El
.Sh RETURN VALUES
.Fn EVP_PKEY_CTX_get_operation
returns one of the
returns one of the single-bit
.Dv EVP_PKEY_OP_*
constants.
constants or
.Dv EVP_PKEY_OP_UNDEFINED
if
.Fa ctx
is not initialized.
.Pp
.Fn EVP_PKEY_CTX_get0_pkey
returns an internal pointer to the

View File

@ -1,5 +1,4 @@
m
.\" $OpenBSD: ruby-module.5,v 1.41 2023/09/11 20:02:38 jeremy Exp $
.\" $OpenBSD: ruby-module.5,v 1.42 2023/09/12 17:21:05 schwarze Exp $
.\"
.\" Copyright (c) 2008 Marc Espie, Jeremy Evans
.\"
@ -25,7 +24,7 @@ m
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd $Mdocdate: September 11 2023 $
.Dd $Mdocdate: September 12 2023 $
.Dt RUBY-MODULE 5
.Os
.Sh NAME
@ -44,7 +43,7 @@ Sets
.Ev GEM_BASE_LIB ,
.Ev GEM_BIN ,
.Ev GEM_BIN_SUFFIX ,
.Ev GEM_EXTENSIONS_DIR,
.Ev GEM_EXTENSIONS_DIR ,
.Ev GEM_FLAGS ,
.Ev GEM_LIB ,
.Ev GEM_MAN_SUFFIX ,
@ -154,8 +153,8 @@ to
It also adds ruby30, ruby31, and ruby32
.Ev FLAVOR Ns s
to the port.
If the C extension in the gem requires specific arguments to extconf.rb, set those
via
If the C extension in the gem requires specific arguments to extconf.rb,
set those via
.Ev CONFIGURE_ARGS .
.El
.Pp