[openssl/openssl] 39ed76: Fix decoders so that they use the passed in propq.

Shane noreply at github.com
Wed Aug 16 16:05:12 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 39ed7636e0d8a90512e7ccb811cd0bfcb7a79650
      https://github.com/openssl/openssl/commit/39ed7636e0d8a90512e7ccb811cd0bfcb7a79650
  Author: slontis <shane.lontis at oracle.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M crypto/encode_decode/decoder_pkey.c
    M crypto/x509/x_pubkey.c
    M include/crypto/x509.h
    M providers/implementations/encode_decode/decode_der2key.c
    M providers/implementations/encode_decode/decode_epki2pki.c
    M providers/implementations/encode_decode/decode_pvk2key.c
    M providers/implementations/encode_decode/decode_spki2typespki.c
    M test/build.info
    A test/decoder_propq_test.c
    M test/recipes/04-test_encoder_decoder.t

  Log Message:
  -----------
  Fix decoders so that they use the passed in propq.

Fixes #21198

decoder objects were setting propq as NULL.
Added a set_ctx/settable_ctx to all decoders that should supply
a property query parameter to internal functions.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21219)




More information about the openssl-commits mailing list