From: Tomas Mraz Date: Wed, 20 Oct 2021 16:27:47 +0000 (+0200) Subject: doc: Document the type of label EVP_PKEY_CTX_set0_rsa_oaep_label properly X-Git-Tag: openssl-3.2.0-alpha1~3445 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d63315366f673328b41750a6e1708d3d6cf11a0;p=thirdparty%2Fopenssl.git doc: Document the type of label EVP_PKEY_CTX_set0_rsa_oaep_label properly Reviewed-by: Matt Caswell Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/16869) --- diff --git a/doc/man3/EVP_PKEY_CTX_ctrl.pod b/doc/man3/EVP_PKEY_CTX_ctrl.pod index 7c8db14cb6c..c2c70421722 100644 --- a/doc/man3/EVP_PKEY_CTX_ctrl.pod +++ b/doc/man3/EVP_PKEY_CTX_ctrl.pod @@ -116,7 +116,7 @@ EVP_PKEY_CTX_set_kem_op int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md); int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen); - int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char *label, + int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int len); int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label); @@ -356,8 +356,8 @@ EVP_MD object instead. Note that only known, built-in EVP_MD objects will be returned. The EVP_MD object may be NULL if the digest is not one of these (such as a digest only implemented in a third party provider). -EVP_PKEY_CTX_set0_rsa_oaep_label() sets the RSA OAEP label to -I