[openssl/openssl] f3aa51: Fix documentation for some i2d return values.

Shane noreply at github.com
Mon Nov 7 18:11:55 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: f3aa51d63473f2b735cf3c01741ad418fc600e08
      https://github.com/openssl/openssl/commit/f3aa51d63473f2b735cf3c01741ad418fc600e08
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M doc/man3/OSSL_CMP_MSG_get0_header.pod
    M doc/man3/d2i_PrivateKey.pod

  Log Message:
  -----------
  Fix documentation for some i2d return values.

i2d_XXX_bio and i2d_XXX_fp return either 0 or 1.
Other i2d_XXX functions return the number of bytes or negative on error.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18427)

(cherry picked from commit 943051d0f9ce8dcb38707774a5757a5dc436704f)




More information about the openssl-commits mailing list