[openssl/openssl] 820723: Add d2i_PUBKEY_ex_fp and d2i_PUBKEY_ex_bio.

Shane noreply at github.com
Wed Nov 2 10:28:55 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 820723dde0c9ec9a4fc68406a0e5aee1dc83f836
      https://github.com/openssl/openssl/commit/820723dde0c9ec9a4fc68406a0e5aee1dc83f836
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M crypto/x509/x_all.c
    M doc/man3/X509_PUBKEY_new.pod
    M include/openssl/x509.h.in
    M test/build.info
    M test/evp_extra_test2.c
    M util/libcrypto.num

  Log Message:
  -----------
  Add d2i_PUBKEY_ex_fp and d2i_PUBKEY_ex_bio.

These functions pass a library content and prop query.
The i2d documentation related to these functions has been corrected since the bio and fp functions always return 0 or 1.

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)


  Commit: 943051d0f9ce8dcb38707774a5757a5dc436704f
      https://github.com/openssl/openssl/commit/943051d0f9ce8dcb38707774a5757a5dc436704f
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-11-02 (Wed, 02 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)


Compare: https://github.com/openssl/openssl/compare/57d2bccdb211...943051d0f9ce


More information about the openssl-commits mailing list