[openssl/openssl] bb67df: Fix a merge mistake in engne_list_add

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: bb67dff95aeb21047b95f92c5119cb63e75cfd2f
      https://github.com/openssl/openssl/commit/bb67dff95aeb21047b95f92c5119cb63e75cfd2f
  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)




More information about the openssl-commits mailing list