[openssl/openssl] 7f81de: Fix a merge mistake in engne_list_add

Bernd Edlinger noreply at github.com
Fri Sep 15 08:15:31 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 7f81dec985b830db348eb025927f2cd0406b7b7e
      https://github.com/openssl/openssl/commit/7f81dec985b830db348eb025927f2cd0406b7b7e
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M crypto/engine/eng_list.c

  Log Message:
  -----------
  Fix a merge mistake in engne_list_add

master version increments the struct_ref early
and needs to decrement the struct_ref on error,
while 3.1 and 3.0 increment the struct_ref later.

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22115)

(cherry picked from commit bb67dff95aeb21047b95f92c5119cb63e75cfd2f)




More information about the openssl-commits mailing list