[openssl/openssl] 7b4fc8: THREADING: Make CRYPTO_MUTEX and CRYPTO_CONDVAR ty...

Hugo Landau noreply at github.com
Fri Feb 9 13:13:40 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 7b4fc8eb72cf5b2de7f2b22838449d28cfd9f0c7
      https://github.com/openssl/openssl/commit/7b4fc8eb72cf5b2de7f2b22838449d28cfd9f0c7
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M include/internal/quic_reactor.h
    M include/internal/thread_arch.h
    M ssl/quic/quic_impl.c
    M ssl/quic/quic_thread_assist.c

  Log Message:
  -----------
  THREADING: Make CRYPTO_MUTEX and CRYPTO_CONDVAR typesafe

There was really no need for this to be void and it made bugs very easy
to introduce accidentally, especially given that the free functions
needed to be passed a pointer to the pointer.

Also fix some bugs in the QUIC code detected immediately by this change.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23519)

(cherry picked from commit 62cb7c810e882895a71ba2cc479f482df0aa8e32)




More information about the openssl-commits mailing list