[openssl/openssl] 62cb7c: THREADING: Make CRYPTO_MUTEX and CRYPTO_CONDVAR ty...

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


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




More information about the openssl-commits mailing list