[openssl] master update

Dr. Paul Dale pauli at openssl.org
Fri May 21 00:07:07 UTC 2021


The branch master has been updated
       via  8a196fe228dbe5c38bbb39a9d42845257cab605c (commit)
       via  1202103583b591da0e67d07626d35fd72d87dafa (commit)
      from  0a281eefb6355d62b2e2a66e425c6966d7f29486 (commit)


- Log -----------------------------------------------------------------
commit 8a196fe228dbe5c38bbb39a9d42845257cab605c
Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
Date:   Wed May 19 17:20:53 2021 +0200

    BIO_s_accept.pod: Document port auto-selection feature of BIO_set_accept_port()
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15354)

commit 1202103583b591da0e67d07626d35fd72d87dafa
Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
Date:   Wed May 19 16:12:49 2021 +0200

    EVP_DigestSignInit.pod: Clarification in EVP_DigestSignFinal() parameter 'sig'
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/15354)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/BIO_s_accept.pod       | 2 ++
 doc/man3/EVP_DigestSignInit.pod | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/man3/BIO_s_accept.pod b/doc/man3/BIO_s_accept.pod
index 02c6006453..f49eb532fc 100644
--- a/doc/man3/BIO_s_accept.pod
+++ b/doc/man3/BIO_s_accept.pod
@@ -77,6 +77,8 @@ port.  "port" has the same syntax as the port specified in
 BIO_set_conn_port() for connect BIOs, that is it can be a numerical
 port string or a string to lookup using getservbyname() and a string
 table.
+If the given port is C<0> then a random available port is chosen.
+It may be queried using BIO_sock_info() and L<BIO_ADDR_service_string(3)>.
 
 BIO_new_accept() combines BIO_new() and BIO_set_accept_name() into
 a single call: that is it creates a new accept BIO with port
diff --git a/doc/man3/EVP_DigestSignInit.pod b/doc/man3/EVP_DigestSignInit.pod
index d61f20bed3..a24db53949 100644
--- a/doc/man3/EVP_DigestSignInit.pod
+++ b/doc/man3/EVP_DigestSignInit.pod
@@ -118,8 +118,9 @@ EVP_DigestSignUpdate() hashes I<cnt> bytes of data at I<d> into the
 signature context I<ctx>. This function can be called several times on the
 same I<ctx> to include additional data.
 
-EVP_DigestSignFinal() signs the data in I<ctx> and places the signature in I<sig>.
-If I<sig> is NULL then the maximum size of the output buffer is written to
+Unless I<sig> is NULL EVP_DigestSignFinal() signs the data in I<ctx>
+and places the signature in I<sig>.
+Otherwise the maximum necessary size of the output buffer is written to
 the I<siglen> parameter. If I<sig> is not NULL then before the call the
 I<siglen> parameter should contain the length of the I<sig> buffer. If the
 call is successful the signature is written to I<sig> and the amount of data


More information about the openssl-commits mailing list