[openssl/openssl] 14c593: Don't set cancel state/type

Matt Caswell noreply at github.com
Thu Dec 1 14:36:54 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 14c593e0034ddb9ca68f4a8e06b251afa127c6d0
      https://github.com/openssl/openssl/commit/14c593e0034ddb9ca68f4a8e06b251afa127c6d0
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M crypto/thread/arch/thread_posix.c

  Log Message:
  -----------
  Don't set cancel state/type

pthread_cancel() is never called by OpenSSL. Therefore this is no point in
setting the cancel state/type. The functions to set the cancel state/type
are not supported on Android and result in compilation failures. Therefore
we remove these calls completely.

Fixes #19559

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19779)




More information about the openssl-commits mailing list