[DOC-CVS] [doc-en] master: Document padding constants for OpenSSL functions. (#5758)

[email protected] (Kamil Tekiela via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-08-11T20:50:10+01:00

Commit: https://github.com/php/doc-en/commit/ddcd63907372580151daf69458d6a8268232b703
Raw diff: https://github.com/php/doc-en/commit/ddcd63907372580151daf69458d6a8268232b703.diff

Document padding constants for OpenSSL functions. (#5758)

Changed paths:
  M  reference/openssl/functions/openssl-sign.xml
  M  reference/openssl/functions/openssl-verify.xml


Diff:

diff --git a/reference/openssl/functions/openssl-sign.xml b/reference/openssl/functions/openssl-sign.xml
index 3581d0091737..9514d5069282 100644
--- a/reference/openssl/functions/openssl-sign.xml
+++ b/reference/openssl/functions/openssl-sign.xml
@@ -71,7 +71,11 @@
     <varlistentry>
      <term><parameter>padding</parameter></term>
      <listitem>
-      <simpara>RSA PSS padding to use.</simpara>
+      <simpara>
+       RSA-PSS padding to use. It can be either
+       <constant>OPENSSL_PKCS1_PADDING</constant>,
+       <constant>OPENSSL_PKCS1_PSS_PADDING</constant>, or <literal>0</literal>.
+      </simpara>
      </listitem>
     </varlistentry>
    </variablelist>
diff --git a/reference/openssl/functions/openssl-verify.xml b/reference/openssl/functions/openssl-verify.xml
index 2e67ff20a82c..be2b62745bd8 100644
--- a/reference/openssl/functions/openssl-verify.xml
+++ b/reference/openssl/functions/openssl-verify.xml
@@ -71,7 +71,11 @@ MIIBCgK...</literal>)
     <varlistentry>
      <term><parameter>padding</parameter></term>
      <listitem>
-      <simpara>RSA PSS padding to use.</simpara>
+      <simpara>
+       RSA-PSS padding to use. It can be either
+       <constant>OPENSSL_PKCS1_PADDING</constant>,
+       <constant>OPENSSL_PKCS1_PSS_PADDING</constant>, or <literal>0</literal>.
+      </simpara>
      </listitem>
     </varlistentry>
    </variablelist>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.